
//<!-- ######################################################################################################-->
//<!-- #                                                                                                    #-->
//<!-- #                                       JAVASCRIPTS change                                           #-->
//<!-- #                                                                                                    #-->
//<!-- ######################################################################################################-->

function change(id, newClass) {
identity=document.getElementById(id);
identity.className=newClass;
//document.write("aa"+identityx);
//alert("Aa "+identity);
//setTimeout('change2(identity)',1000);
}



//<!-- ######################################################################################################-->
//<!-- #                                                                                                    #-->
//<!-- #                                       JAVASCRIPTS show3n show3d show3                              #-->
//<!-- #                                                                                                    #-->
//<!-- ######################################################################################################-->


/*-- show 3 elements --*/
function show3n(id1,class1,id2,class2,id3,class3) {
identity1=document.getElementById(id1);
identity2=document.getElementById(id2);
identity3=document.getElementById(id3);
//stuff[0]=class1;
//stuff[1]=class2;
//stuff[2]=class3;
//stuff[3]=1;
stuff={c1:class1,c2:class2,c3:class3}; /*first element set to 1*/
//identity1.showmethemoney=1;
//if (identity2.showmethemoney==undefined) identity2.showmethemoney=0;
//if (identity3.showmethemoney==undefined) identity3.showmethemoney=0;
//alert(stuff.c1+" "+stuff.c2 + " " + identity1.showmethemoney+identity2.showmethemoney+identity3.showmethemoney);
//window.status(identity1+" "+identity2 + " " + identity3);
show3(identity1,identity2,identity3,stuff);
}

function show3d(id1,class1,id2,class2,id3,class3) {
identity1=document.getElementById(id1);
identity2=document.getElementById(id2);
identity3=document.getElementById(id3);
stuff={c1:class1,c2:class2,c3:class3};
setTimeout("show3(identity1,identity2,identity3,stuff)",100);
}

function show3(identity1,identity2,identity3,stuff) {
//document.write(identity1+" " + identity2 + " " + stuff.c1)
identity1.className=stuff.c1;
identity2.className=stuff.c2;
identity3.className=stuff.c3;
}


//<!-- ######################################################################################################-->
//<!-- #                                                                                                    #-->
//<!-- #                                       JAVASCRIPTS hide3n hide3d hide3                              #-->
//<!-- #                                                                                                    #-->
//<!-- ######################################################################################################-->


/*-- hide 3 elements --*/
function hide3n(id1,class1,id2,class2,id3,class3) {
identity1=document.getElementById(id1);
identity2=document.getElementById(id2);
identity3=document.getElementById(id3);
stuff={c1:class1,c2:class2,c3:class3}; /*first element set to 0*/
	setTimeout("hide3(identity1,identity2,identity3,stuff)",10);
}
function hide3d(id1,class1,id2,class2,id3,class3) {
identity1=document.getElementById(id1);
identity2=document.getElementById(id2);
identity3=document.getElementById(id3);
stuff={c1:class1,c2:class2,c3:class3}; /*first element set to 0*/
//identity1.showmethemoney=0;
//alert(stuff.c1+" "+stuff.c2 + " " + identity1.showmethemoney+identity2.showmethemoney+identity3.showmethemoney);
//if ((identity1.showmethemoney==0)&&(identity2.showmethemoney==0)&&(identity3.showmethemoney==0))
	setTimeout("hide3(identity1,identity2,identity3,stuff)",1000);
}
function hide3(identity1,identity2,identity3,stuff) {
//document.write(identity1+" " + identity2 + " " + stuff.c1)
identity1.className=stuff.c1;
identity2.className=stuff.c2;
identity3.className=stuff.c3;
}


//<!-- ######################################################################################################-->
//<!-- #                                                                                                    #-->
//<!-- #                                       JAVASCRIPTS show2d show2n show2                              #-->
//<!-- #                                                                                                    #-->
//<!-- ######################################################################################################-->

//<!-- ######################################################################################################-->
//<!-- #                                                                                                    #-->
//<!-- #                                       JAVASCRIPTS drawWindow                                       #-->
//<!-- #                                                                                                    #-->
//<!-- ######################################################################################################-->
var string1;
var height1;
var width1;
function drawWindow(string1,width1,height1)
  {
  var address        = string1;
  var op_toolbar     = 1;
  var op_location    = 1;
  var op_directories = 1;
  var op_status      = 1;
  var op_menubar     = 1;
  var op_scrollbars  = 1;
  var op_resizable   = 1;
  var op_width       = width1;
  var op_height      = height1;
  var option         =  "toolbar="     + op_toolbar
                      +",location="    + op_location
                      +",directories=" + op_directories
                      +",status="      + op_status
                      +",menubar="     + op_menubar
                      +",scrollbars="  + op_scrollbars
                      +",resizable="   + op_resizable
                      +",width="       + op_width
                      +",height="      + op_height;
  var new_win = window.open(address, "NewWindow" , option);
  }

//<!-- ######################################################################################################-->
//<!-- #                                                                                                    #-->
//<!-- #                                       JAVASCRIPTS openWindow                                       #-->
//<!-- #                                                                                                    #-->
//<!-- ######################################################################################################-->
function openWindow(url)
{ popupWin = window.open(url, 'openWin', "width=400, height=250, scrollbars=yes, resizable=yes"); }





