//Date: August 31, 2001 Created by Workshopsix

var av;
var iMSIE;

av = navigator.appName;

//iMSIE = parseInt(av.indexOf("MSIE"));

if (av != "Microsoft Internet Explorer")
{

	location="get_ie.html"
}

	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 myPage(pName)
	{
   	if (pName == 1)
   	{
   		
   		window.document.all.mHome.style.visibility="hidden";
   		window.document.all.mHome_b.style.visibility="visible";
   	}

   	if (pName == 2)
   	{
   		window.document.all.mCorp.style.visibility="hidden";
   		window.document.all.mCorp_b.style.visibility="visible";
   	}

   	if (pName == 3)
   	{
  		
  		window.document.all.mCare.style.visibility="hidden";
  		window.document.all.mCare_b.style.visibility="visible";
   	}

   	if (pName == 4)
   	{
   		
   		window.document.all.mPort.style.visibility="hidden";
   		window.document.all.mPort_b.style.visibility="visible";
   	}

   	if (pName == 5)
   	{
   		
   		window.document.all.mCont.style.visibility="hidden";
   		window.document.all.mCont_b.style.visibility="visible";
   	}

   	if (pName == 6)
   	{
   		
   		window.document.all.mFaq.style.visibility="hidden";
   		window.document.all.mFaq_b.style.visibility="visible";
   	}

   	if (pName == 7)
   	{
   		
   		window.document.all.mLink.style.visibility="hidden";
   		window.document.all.mLink_b.style.visibility="visible";
   	}
}

function writeDate()
{
	var myDate=new Date();
	var monthOftheYear=new Array("January","Febuary","March","April","May","June","July","August","September","October","November","December");
	document.write("<font color='#ffffff'><b>");

	document.write( monthOftheYear[myDate.getMonth()] + " " + myDate.getDate() + ", " + myDate.getYear());
	document.write("</b></font>");
}

	var myLeft;
    
    
    myLeft = ((screen.availWidth/2)-360);
	
	
    //for banner
    document.write("<div id='bannerL' style='position:absolute; left:")
	document.write(myLeft);
    document.write("; top:10; width:720;  height:80; background-color:#ffffff; z-index:3'>");
    
    //image in banner
    document.write("<div style='position:absolute; left:601; top:0; height:80; width:100;'>");
    document.write("<img src='images/forhome.gif' height='80'></div>");
    
    //logo in banner
    document.write("<div style='position:absolute; left:50; top:22; height:80; width:100;'>");
    document.write("<img src='images/peopleslogo(100x20).gif'></div>");
    
    document.write("<div style='position:absolute; left:320; top:30; height:80; width:100;'>");
    document.write("<img src='source_images/ch.gif' width='200'></div>");

    document.write("</div>");
    
    
    
    //for menu
    document.write("<div id='menuL' style='position:absolute; left:")
	document.write(myLeft);
    document.write("; top:92; width:720;  height:22; background-color:#29166f; z-index:3'>");

		//home    
    	document.write("<div id='mHome' style='position:absolute; left:10px; top:1px; width:100px; height:20px;'>");
    	document.write("<a href='home.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('home','','images/menu_home_a.gif',1)\">");
    	document.write("<img name='home' border='0' src='images/menu_home.gif'></a>");
    	document.write("</div>")
    	document.write("<div id='mHome_b' style='position:absolute; left:10px; top:1px; width:100px; height:20px;visibility:hidden'>");
    	document.write("<img border='0' src='images/menu_home_b.gif'></a>");
    	document.write("</div>")
		
		//corp    
    	document.write("<div id='mCorp' id='menuL' style='position:absolute; left:120px; top:1px; width:100px; height:20px;'>");
    	document.write("<a href='corporate_profile.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('corp','','images/menu_corp_a.gif',1)\">");
    	document.write("<img name='corp' border='0' src='images/menu_corp.gif'></a>");
    	document.write("</div>")
    	document.write("<div id='mCorp_b' style='position:absolute; left:120px; top:1px; width:100px; height:20px;visibility:hidden'>");
    	document.write("<img border='0' src='images/menu_corp_b.gif'></a>");
    	document.write("</div>")

		//career    
    	document.write("<div id='mCare' style='position:absolute; left:230px; top:1px; width:100px; height:20px;'>");
    	document.write("<a href='career.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('career','','images/menu_career_a.gif',1)\">");
    	document.write("<img name='career' border='0' src='images/menu_career.gif'></a>");
    	document.write("</div>")
    	document.write("<div id='mCare_b' style='position:absolute; left:230px; top:1px; width:100px; height:20px;visibility:hidden'>");
    	document.write("<img border='0' src='images/menu_career_b.gif'></a>");
    	document.write("</div>")

		//portfolio    
    	document.write("<div id='mPort' style='position:absolute; left:340px; top:1px; width:100px; height:20px;'>");
    	document.write("<a href='portfolio.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('portfolio','','images/menu_port_a.gif',1)\">");
    	document.write("<img name='portfolio' border='0' src='images/menu_port.gif'></a>");
    	document.write("</div>")
    	document.write("<div id='mPort_b' style='position:absolute; left:340px; top:1px; width:100px; height:20px;visibility:hidden'>");
    	document.write("<img border='0' src='images/menu_port_b.gif'></a>");
    	document.write("</div>")

		//contacts    
    	document.write("<div id='mCont' style='position:absolute; left:450px; top:1px; width:100px; height:20px;'>");
    	document.write("<a href='contact_us.html' onMouseOut='MM_swapImgRestore()' onMouseOver=\"MM_swapImage('contacts','','images/menu_contact_a.gif',1)\">");
    	document.write("<img name='contacts' border='0' src='images/menu_contact.gif'></a>");
    	document.write("</div>")
    	document.write("<div id='mCont_b' style='position:absolute; left:450px; top:1px; width:100px; height:20px;visibility:hidden'>");
    	document.write("<img border='0' src='images/menu_contact_b.gif'></a>");
    	document.write("</div>")
	    
	    //date
	    document.write("<div class='address' style='position:absolute; left:605px; top:10px; width:110px; height:20px;'>");
	    writeDate();
	    document.write("</div>")
	    
	    //created by wws
	    
	    document.write("<div class='address' style='position:absolute; left:152px; top:475px; width:400px; height:20px;'>");
		document.write("Created by <a href='#' onClick='window.open(\"http://www.workshopsix.com\",\"\",\"\");'>workshopsix</a>, &copy;copyright 2001");
	    document.write("</div>")
	    
    document.write("</div>");
    document.close();
    
    
   function seePortfolio(cate)
    {
		if(cate == 'life')
		{
			window.open("life.html","","width=500, height=500,resizable=no");
		}
		else
		{
			window.open("travel.html","","width=500, height=320,resizable=no");
		}
    }
