var ns=0;
var i=1;
   function init(){
  	if(navigator.appName=="Netscape"){
	   layerStyleRef="layer.";
	   layerRef="document.layers";
	   styleSwitch="";
	   ns=1;}

        else{
	   layerStyleRef="layer.style.";
	   layerRef="document.all";
	   styleSwitch=".style";
           ns=0;}
}

   function selecturl(s) {
	var gourl = s.options[s.selectedIndex].value;
	parent.frames[0].location.href=gourl;
			}

   function show(spot)
	{eval(layerRef+spot+styleSwitch+'.visibility="visible"')}
   function hide(spot)
	{eval(layerRef+spot+styleSwitch+'.visibility="hidden"')}

function toggleMultimedia() { 
window.status=('Welcome to Palmer Construction');
        txttag.filters(0).Apply();
	txttag.style.visibility="visible";
	txttag.filters(0).Play();
} 

   function chester(){
	if (ns==0){
	   toggleMultimedia()}
}
   function helper(){
	if (ns==0)
	{show(".navbar")}
}

   function popper(){
	open("http://www.palmerconstruction.com/grafhelp.htm",'_blank','status=no,resizeable=no,scrollbars=no,width=300,height=200')
	}

function rsetgraf() {
	window.open('http://www.palmerconstruction.com');
	timer()
}

function timer(){
   if (i<=50){ i++
    setTimeout("timer()",50)}
    else { window.close()}

}
