
function winload()
{
Layer1024Left.style.top=100;
Layer1024Left.style.left=0;
Layer1024Right.style.top=100;
Layer1024Right.style.right=0;
}

if(screen.width>800){
	document.write("<div id='Layer1024Left' style='Z-INDEX: 1; LEFT: 5px; VISIBILITY: visible; WIDTH: 0px; POSITION: absolute; TOP: 200px'>")	
	document.write('<TABLE cellSpacing="0" cellPadding="0"  border="0">')
	document.write('<TBody>')
	document.write('<TR>')
	document.write('<TD>')
	document.write('<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"')
	document.write('height="300" width="70" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>')
	document.write('<PARAM NAME="_cx" VALUE="2646">')
	document.write('<PARAM NAME="_cy" VALUE="7938">')
	document.write('<PARAM NAME="FlashVars" VALUE="">')
	document.write('<PARAM NAME="Movie" VALUE="images/left.swf">')
	document.write('<PARAM NAME="Src" VALUE="images/left.swf">')
	document.write('<PARAM NAME="WMode" VALUE="Window">')
	document.write('<PARAM NAME="Play" VALUE="-1">')
	document.write('<PARAM NAME="Loop" VALUE="-1">')
	document.write('<PARAM NAME="Quality" VALUE="High">')
	document.write('<PARAM NAME="SAlign" VALUE="">')
	document.write('<PARAM NAME="Menu" VALUE="-1">')
	document.write('<PARAM NAME="Base" VALUE="">')
	document.write('<PARAM NAME="AllowScriptAccess" VALUE="always">')
	document.write('<PARAM NAME="Scale" VALUE="ShowAll">')
	document.write('<PARAM NAME="DeviceFont" VALUE="0">')
	document.write('<PARAM NAME="EmbedMovie" VALUE="0">')
	document.write('<PARAM NAME="BGColor" VALUE="">')
	document.write('<PARAM NAME="SWRemote" VALUE="">')
	document.write('<PARAM NAME="MovieData" VALUE="">')
	document.write('<PARAM NAME="SeamlessTabbing" VALUE="1">')
	document.write('<embed src="images/left.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"')
	document.write('	type="application/x-shockwave-flash" width="100" height="300"> </embed>')
	document.write('</OBJECT>')
	document.write('</TD>')
	document.write('</TR>')
	document.write('<TR>')
	document.write('<TD>')
	document.write('<table cellSpacing="0" cellPadding="0" width="100%"  height="10" bgColor="#E8F1F6" border="0">')
	document.write('<tr>')
	document.write('	<td>&nbsp;</td>')
	document.write('	<td width="10"><IMG onclick="Layer1024Left.style.visibility=\'hidden\';Layer1024Right.style.visibility=\'hidden\'" ')
	document.write('			height="10" src="images/dian.gif" width="10" border="0"></td>')
	document.write('</tr>')
	document.write('</table>')
	document.write('</TD>')
	document.write('</TR>')
	document.write('</TBody>')
	document.write('</TABLE>')
	document.write('</div>')

	document.write("<div id='Layer1024Right' style='Z-INDEX: 1; RIGHT: 5px; VISIBILITY: visible; WIDTH: 0px; POSITION: absolute; TOP: 200px'>")	
	document.write('<TABLE cellSpacing="0" cellPadding="0"  border="0">')
	document.write('<TBody>')
	document.write('<TR>')
	document.write('<TD>')
	document.write('<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"')
	document.write('height="300" width="70" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>')
	document.write('<PARAM NAME="_cx" VALUE="2646">')
	document.write('<PARAM NAME="_cy" VALUE="7938">')
	document.write('<PARAM NAME="FlashVars" VALUE="">')
	document.write('<PARAM NAME="Movie" VALUE="images/right.swf">')
	document.write('<PARAM NAME="Src" VALUE="images/right.swf">')
	document.write('<PARAM NAME="WMode" VALUE="Window">')
	document.write('<PARAM NAME="Play" VALUE="-1">')
	document.write('<PARAM NAME="Loop" VALUE="-1">')
	document.write('<PARAM NAME="Quality" VALUE="High">')
	document.write('<PARAM NAME="SAlign" VALUE="">')
	document.write('<PARAM NAME="Menu" VALUE="-1">')
	document.write('<PARAM NAME="Base" VALUE="">')
	document.write('<PARAM NAME="AllowScriptAccess" VALUE="always">')
	document.write('<PARAM NAME="Scale" VALUE="ShowAll">')
	document.write('<PARAM NAME="DeviceFont" VALUE="0">')
	document.write('<PARAM NAME="EmbedMovie" VALUE="0">')
	document.write('<PARAM NAME="BGColor" VALUE="">')
	document.write('<PARAM NAME="SWRemote" VALUE="">')
	document.write('<PARAM NAME="MovieData" VALUE="">')
	document.write('<PARAM NAME="SeamlessTabbing" VALUE="1">')
	document.write('<embed src="images/right.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"')
	document.write('	type="application/x-shockwave-flash" width="100" height="300"> </embed>')
	document.write('</OBJECT>')
	document.write('</TD>')
	document.write('</TR>')
	document.write('<TR>')
	document.write('<TD>')
	document.write('<table cellSpacing="0" cellPadding="0" width="100%" height="10" bgColor="#E8F1F6" border="0">')
	document.write('<tr>')
	document.write('	<td>&nbsp;</td>')
	document.write('	<td width="10"><IMG onclick="Layer1024Left.style.visibility=\'hidden\';Layer1024Right.style.visibility=\'hidden\'" ')
	document.write('			height="10" src="images/dian.gif" width="10" border="0"></td>')
	document.write('</tr>')
	document.write('</table>')
	document.write('</TD>')
	document.write('</TR>')
	document.write('</TBody>')
	document.write('</TABLE>')
	document.write('</div>')

}


var isDOM = (document.getElementById ? true : false);  
var isIE4 = ((document.all && !isDOM) ? true : false); 
var isNS4 = (document.layers ? true : false);  

function getRef(id) { 
	if (isDOM) return document.getElementById(id); 
	if (isIE4) return document.all[id]; 
	if (isNS4) return document.layers[id]; 
}  

var isNS = navigator.appName == "Netscape";  

function moveRightEdge() { 
	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;  

	if (isNS4) { 
		
		yMenuFrom   = Layer1024Left.top; 
		yMenuTo     = windows.pageYOffset +10; 
	} else if (isDOM) { 
		
		yMenuFrom   = parseInt (Layer1024Left.style.top, 10); 
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 150; 
	} 
	timeoutNextCheck = 10;  

	if (yMenuFrom != yMenuTo) { 
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 10); 
		if (yMenuTo < yMenuFrom) 
			yOffset = -yOffset; 
		if (isNS4) 
		{
			divMenuL.top += yOffset; 
			divMenuR.top += yOffset; 
		}
		else if (isDOM) 
		{
			divMenuL.style.top = parseInt (divMenuL.style.top, 10) + yOffset;
			divMenuR.style.top = parseInt (divMenuR.style.top, 10) + yOffset;
			timeoutNextCheck = 10; 
		} 
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck); 
	
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


if (isNS4) {
	var divMenuL = document["Layer1024Left"];
	var divMenuR = document["Layer1024Right"];
	divMenuL.top = top.pageYOffset + 150;
	divMenuR.top = top.pageYOffset + 150;
	divMenu.visibility = "visible";

	moveRightEdge();
} else if (isDOM) {
	var divMenuL = getRef('Layer1024Left');
	var divMenuR = getRef('Layer1024Right');
	



divMenuL.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + 100;
	divMenuR.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + 100;
	divMenuL.style.visibility = "visible";
	divMenuR.style.visibility = "visible";
	moveRightEdge();
}