
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































function on(a) {		//Swap Images
if (document.images){ 
    document.images[a].src = gifs + "" + a + "_on.gif" ;
   }
}
function off(a) { 		//Restore Images
if (document.images) {
    document.images[a].src = gifs + "" + a + ".gif" ;
   }
}

/////////////////////////////////////// Swap Images in LAYERS - only for ie


//////////////////////// New browsew detect
var ns4 = false
var ie4 = false
var ns6 = false

if (document.all) {
  //alert("Internet Explorer Detected");
  ie4 = (document.all)? true:false;
}
else if (document.layers) {
  //alert("Netscape Navigator Detected");
  ns4 = (document.layers)? true:false;
}
else if (document.getElementById) {
  //alert("Netscape 6 Detected");
  ns6 = (document.getElementById)? true:false;
}
//////////////////////// End of browsew detect



function onL(a) {		//Swap Images
	if (ie4){
		if (document.all) { 
		document.images[a].src = gifs + "" + a + "_on.gif" ;
		}
	}
}

function offL(a) { 		//Restore Images
	if (ie4){
		if (document.all) {
		document.images[a].src = gifs + "" + a + ".gif" ;
		}
	}
}


//////////////////////////////	 Layers script
function showObject(obj) {
       if (ns4) obj.visibility = "show";
        else if (ns6) obj.visibility = "visible";
		else if (ie4) obj.visibility = "visible";
}

function hideObject(obj) {
        if (ns4) obj.visibility = "hide";
        else if (ns6) obj.visibility = "hidden";
		else if (ie4) obj.visibility = "hidden";
}


/////////////////////////////////////////////////////////////////////////// onload = init1()

var L90, L1, L2, L3, L4, L5, L6

function init1() {
//alert ("init main");
	if (ns4){
	 L90 = document.L90Div;
	 L1 = document.L1Div;
	 L2 = document.L2Div;
	 L3 = document.L3Div;
	 L4 = document.L4Div;
	 L5 = document.L5Div;
	 L6 = document.L6Div;
	} 
	
	
	if (ie4){
	 L90 = L90Div.style;
	 L1 = L1Div.style;
	 L2 = L2Div.style;
	 L3 = L3Div.style;
	 L4 = L4Div.style;
	 L5 = L5Div.style;
	 L6 = L6Div.style;
	}
	
	if (ns6){
	  L90 = document.getElementById("L90Div").style;
	  L1 = document.getElementById("L1Div").style;
	  L2 = document.getElementById("L2Div").style;
	  L3 = document.getElementById("L3Div").style;
	  L4 = document.getElementById("L4Div").style;
	  L5 = document.getElementById("L5Div").style;
	  L6 = document.getElementById("L6Div").style;	
	}
		
	 //alert("in init");
	pos(L90);
	pos(L1);
	pos(L2);
	pos(L3);
	pos(L4);
	pos(L5);
	pos(L6);
	
}

function init(){
	pos(L90);
	pos(L1);
	pos(L2);
	pos(L3);
	pos(L4);
	pos(L5);
	pos(L6);
}

//var wid = parseInt(screen.availWidth);	// = The width of screen
var wid
var obj
var xScroll	 // width of horizontal scrollbar - for netscape


function pos(obj) {	// Sets the Div's left position
       if (ns4) {
	 		// window.pageXOffset  /  window.innerWidth
	   		wid = parseInt(window.innerWidth);
			xScroll = parseInt(window.pageXOffset);
			wid = wid + xScroll	// If there is a horizontal scrollbar 
	   		//alert (wid)	   
	   		if (obj == L90) obj.left = wid - 625 ;
	   		if (obj == L1) obj.left = wid - 147 ;
	   		if (obj == L2) obj.left = wid - 224 ;
			if (obj == L3) obj.left = wid - 315 ;
			if (obj == L4) obj.left = wid - 383 ;
			if (obj == L5) obj.left = wid - 486 ;
	   		if (obj == L6) obj.left = wid - 465 ;
	   }
	     
       else if (ns6) {
	   		wid = parseInt(window.innerWidth);
			xScroll = parseInt(window.pageXOffset);
			wid = wid + xScroll	// If there is a horizontal scrollbar
	   		if (obj == L90) obj.left = wid - 625 ;
	   		if (obj == L1) obj.left = wid - 147 ;
	   		if (obj == L2) obj.left = wid - 224 ;
			if (obj == L3) obj.left = wid - 315 ;
			if (obj == L4) obj.left = wid - 383 ;
			if (obj == L5) obj.left = wid - 486 ;
	   		if (obj == L6) obj.left = wid - 465 ;
	   }
	    
	   else if (ie4) {
	   //scrollWidth / clientWidth
	   		//wid = parseInt(document.body.scrollWidth);
			//scrollWid = parseInt(document.body.scrollLeft);
			wid = parseInt(document.body.clientWidth);
	 // alert (wid)
	   		if (obj == L90) obj.left = wid - 625 ;
	   		if (obj == L1) obj.left = wid - 147 ;
	   		if (obj == L2) obj.left = wid - 221 ;
			if (obj == L3) obj.left = wid - 310 ;
			if (obj == L4) obj.left = wid - 379 ;
			if (obj == L5) obj.left = wid - 476 ;
	   		if (obj == L6) obj.left = wid - 464 ;
	   }
}

/*
function check(obj){
		//t = obje.substring(1,obje.length);
		//alert (document.L2Div.2.width);
		alert (L2Div.width); 
		//wid = (obje.width);	
}		
*/
//func onEnter : activates functionName on enter
NS4 = (document.layers) ? true : false;
function onEnter(event,functionName,parameters){  
    var code = 0;    
    if(NS4){
        code = event.which;
	}else{
        code = event.keyCode;
	}
    if(code==13)
    functionName(parameters);
}//end onEnter

//function redirect
function redirect(url){
document.location.href=url;
}

function nothing(){
alert()
}