function changeColor(id)
	{
	 document.getElementById(id).style.color="#ff7f00";
	}	
function changeColor1(id)
	{
		eval(id).style.color="#000000";     
	}    
function MM_swapImgRestore() 
	{ //v3.0
		var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
function MM_preloadImages() 
	{ //v3.0
		var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
function MM_findObj(n, d) 
	{ //v4.0
		var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
		if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
		if(!x && document.getElementById) x=document.getElementById(n); return x;
	}

function MM_swapImage() 
	{ //v3.0
		var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
		if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}

function move(id)
	{
		location.href=id;
	}

function stayloc(id)
	{
		MM_swapImage('Image1','','images/smenu1.jpg',1);
	}
function stayfea(id)
	{
		MM_swapImage('Image2','','images/smenu2.jpg',1);
	}
function stayflo(id)
	{
		MM_swapImage('Image3','','images/smenu3.jpg',1);
	}
function staygal(id)
	{
		MM_swapImage('Image4','','images/smenu4.jpg',1);
	}
function stayrat(id)
	{
		MM_swapImage('Image5','','images/smenu5.jpg',1);
	}
function stayman(id)
	{
	MM_swapImage('Image6','','images/smenu6.jpg',1);
	}
function staytow(id)
	{
		MM_swapImage('Image7','','images/smenu7.jpg',1);
	}
function floimage(id)
	{
		//if(d==a)
			eval(id).style.src='images/Plan_Unit1D.JPG';
		//else if 
		//	eval(id).style.background='red';
	}	     

var chk='0'
     function c1(id){
     document.getElementById(id).style.color="orange";     
     }
     function c2(id){
     if(chk==id)
        document.getElementById(id).style.color="orange"
     else
        document.getElementById(id).style.color="#000000"     
     }
     function setch(a){
        chk=a;
        for(i=1;i<10;i++)
         document.getElementById(i).style.color="#000000";  
         document.getElementById(chk).style.color="orange";
    }
function changeImage(tid,opt) 
	{
		if(opt==1)
			newImage = "url(images/Plan_Unit1B.JPG)";
		if(opt==2)
			newImage = "url(images/Plan_Unit1C.JPG)";
		if(opt==3)
			newImage = "url(images/Plan_Unit1D.JPG)";
		if(opt==4)
			newImage = "url(images/Plan_Unit1DHP.JPG)";					
		if(opt==5)
			newImage = "url(images/Plan_Unit2A.JPG)";						
		if(opt==6)
			newImage = "url(images/Plan_Unit2B.JPG)";						
		if(opt==7)
			newImage = "url(images/Plan_Unit2C.JPG)";						
		if(opt==8)
			newImage = "url(images/Plan_Unit2CHP.JPG)";						
		if(opt==9)
			newImage = "url(images/Plan_Unit2D.JPG)";
		document.getElementById(tid).style.backgroundImage = newImage;
	}
