var flag = (document.layers) ? true:false;
function init() {
	if ( flag ){ 
		document.layers['divSelectOne'].top = document.anchors['sos'].y+8;
		document.layers['divSelectOne'].left = document.anchors['sos'].x;
		document.layers['divSelectTwo'].top = document.anchors['sos'].y+8;
		document.layers['divSelectTwo'].left = document.anchors['sos'].x;
		document.layers['divSelectOne'].visibility='show';
		document.layers['showOne'].top = document.anchors['sos'].y+27;
		document.layers['showOne'].left = document.anchors['sos'].x;
		document.layers['showTwo'].top = document.anchors['sos'].y+27;
		document.layers['showTwo'].left = document.anchors['sos'].x;
		document.layers['showOne'].visibility='show';
	}
}
function but_two_y_off_click() {
	if ( flag ){
		document.layers['divSelectOne'].visibility='hide';
		document.layers['divSelectTwo'].visibility='show';
		document.layers['showOne'].visibility='hide';
		document.layers['showTwo'].visibility='show';
		}
	else{
		divSelectOne.style.display='none';
		divSelectTwo.style.display='';
		showOne.style.display='none';
		showTwo.style.display='';
		}
}
function but_one_y_off_click() {
	if ( flag ){
		document.layers['divSelectOne'].visibility='show';
		document.layers['divSelectTwo'].visibility='hide';
		document.layers['showOne'].visibility='show';
		document.layers['showTwo'].visibility='hide';
		}
	else{
		divSelectOne.style.display='';
		divSelectTwo.style.display='none';
		showOne.style.display='';
		showTwo.style.display='none';
		}
}
function reloadPage(init) {  //reloads the window if Nav4 resized
if (init==true) with (navigator) {
	if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.pageWidth=innerWidth;
		document.pageHeight=innerHeight;
		onresize=reloadPage;
		}
	}
else if (innerWidth!=document.pageWidth || innerHeight!=document.pageHeight) {
	location.reload();
	}
}
reloadPage(true);
function onerror(msg,url,linenum)
{
alert (msg+"\n"+url+"\n"+linenum);

}