	function init()
	{
		 show(0);
	}
//
	function show(def)
{
	if(def==0)
	{
		switchVisible('station1',1);
		switchVisible('station2',0);
		switchVisible('station3',0);
		switchVisible('station4',0);
		switchVisible('whole_footer_Office',1);
		switchVisible('common_footer',1);
		switchVisible('whole_footer_Office_station2',0);
		switchVisible('common_footer_station2',0);
		switchVisible('whole_footer_Office_station3',0);
		switchVisible('common_footer_station3',0);
		switchVisible('whole_footer_Office_station4',0);
		switchVisible('common_footer_station4',0);
		switchVisible('leftsidea',1);
		switchVisible('leftsideb',0);	
		switchVisible('leftsidec',0);	
		switchVisible('leftsided',0);
	}
	if(def==1)
	{
		switchVisible('station1',0);
		switchVisible('station2',1);
		switchVisible('station3',0);
		switchVisible('station4',0);
		switchVisible('whole_footer_Office',0);
		switchVisible('common_footer',0);
		switchVisible('whole_footer_Office_station2',1);
		switchVisible('common_footer_station2',1);
		switchVisible('whole_footer_Office_station3',0);
		switchVisible('common_footer_station3',0);
		switchVisible('whole_footer_Office_station4',0);
		switchVisible('common_footer_station4',0);
		switchVisible('leftsidea',0);	
		switchVisible('leftsideb',1);
		switchVisible('leftsidec',0);		
		switchVisible('leftsided',0);

	}
	if(def==2)
	{
		switchVisible('station1',0);
		switchVisible('station2',0);
		switchVisible('station3',1);
		switchVisible('station4',0);
		switchVisible('whole_footer_Office',0);
		switchVisible('common_footer',0);
		switchVisible('whole_footer_Office_station2',0);
		switchVisible('common_footer_station2',0);
		switchVisible('whole_footer_Office_station3',1);
		switchVisible('common_footer_station3',1);
		switchVisible('whole_footer_Office_station4',0);
		switchVisible('common_footer_station4',0);
		switchVisible('leftsidea',0);
		switchVisible('leftsideb',0);
		switchVisible('leftsidec',1);
		switchVisible('leftsided',0);

	}
	if(def==3)
	{
		switchVisible('station1',0);
		switchVisible('station2',0);
		switchVisible('station3',0);
		switchVisible('station4',1);
		switchVisible('FAQ',0);
		switchVisible('whole_footer_Office',0);
		switchVisible('common_footer',0);
		switchVisible('whole_footer_Office_station2',0);
		switchVisible('common_footer_station2',0);
		switchVisible('whole_footer_Office_station3',0);
		switchVisible('common_footer_station3',0);
		switchVisible('whole_footer_Office_station4',1);
		switchVisible('common_footer_station4',1);
		switchVisible('leftsidea',0);
		switchVisible('leftsideb',0);
		switchVisible('leftsidec',0);		
		switchVisible('leftsided',1);

	}
}
//
	function main_pic(id,w,h)
	{
		var popurl="pages/main_pic";
		popurl+=id;
		popurl+=".htm";
		var options="width=";
		options+=1.1*w;
		options+=",height=";
		options+=1.2*h;
		options+=",scrollbars,";
		//alert(popurl+"   "+options);
		winpops=window.open(popurl,"",options);
	}
//
function change_message(message_text,xpos,ypos)
{
 var theElement = document.getElementById("message1");
 theElement.innerHTML = message_text;
 theElement.style.top = xpos + "px";
 theElement.style.left = ypos + "px";
}
//
function myDate() 
{
    var now   = new Date();
    var weekday = new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
    var day   = weekday[now.getDay()];
    var month  = now.getMonth() + 1;
    var date  = now.getDate();
    var year  = now.getFullYear();
    year = year.toString();
    var today  = day + ' ' + month + '/' + date + '/' + year.substring(2,4);
    return today;
}
//
function switchVisible(id,viz) 
{
	var ie4up = (document.all)? true : false;
 	var ns4   = (document.layers)? true : false;
	var ns6up = (document.getElementById)? true : false;
   if (ns4 && getLayer(id))
   	{
       	getLayer(id).visibility = (viz) ? 'show' : 'hide';
    }
    if ((ie4up || ns6up) && getLayer(id))
   	{
       		 if(viz==0)
       		 {
       		 	document.getElementById(id).style.visibility="hidden";
 //      		 	getLayer(id).style.visibility = "hidden";
       		 }
       	else if(viz==1)
       		{
       		document.getElementById(id).style.visibility="visible";
//       	getLayer(id).style.visibility = "visible";
       		}
     }
//	  	alert("id= " + id + "   viz= " + viz + "  Browsers = " + ie4up + " " + ns4 + " "  + ns6up + "  getLayer(id)= " + getLayer(id));
}
//
function mousehelp(id,msg)
{
			if(msg==1)switchVisible('help_message1',id);
	else if(msg==2)switchVisible('help_message2',id);
	else if(msg==3)switchVisible('help_message3',id);
	else if(msg==4)switchVisible('help_message4',id);
	else if(msg==5)switchVisible('help_message5',id);
	else if(msg==6)switchVisible('help_message6',id);
	else if(msg==7)switchVisible('help_message7',id);
}
//
function getLayer(id) 
{	
//	var x = eval('document.getElementById("'+id+'")')
//	alert("getlayer= " + id + "  " + x);
	var ie4up = (document.all)? true : false;
 	var ns4   = (document.layers)? true : false;
	var ns6up = (document.getElementById)? true : false;
    if (ns4) return eval('document.layers["'+id+'"]');
    if (ie4up) return eval('document.all["'+id+'"]');
    if (ns6up) return eval('document.getElementById("'+id+'")');
    return null;
}