function roll_on(obj,name)
{
	roll_on_ext(obj,name,'jpg');
}

function roll_on_ext(obj,name,ext)
{
	obj.src='images/'+name+'_over.'+ext;
}


function roll_off(obj,name)
{
	roll_off_ext(obj,name,'jpg');
}

function roll_off_ext(obj,name,ext)
{
	obj.src='images/'+name+'_off.'+ext;
}

function load_Flash(swfFile,width,height,params) {
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
 document.write(' width="'+width+'" height="'+height+'">');
 document.write(' <param name="movie" value="'+swfFile+'?'+params+'">');
 document.write(' <param name="menu" value="false"> '); 
 document.write(' <param name="quality" value="high">'); 
 document.write(' <param name="wmode" value="transparent">'); 
 document.write(' <embed src="'+swfFile+'?'+params+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'" wmode=transparent  menu=false></embed></object>');
}

function load_Flash_ex(swfFile,width,height,params,reqMajorVer,reqMinorVer,reqRevVer) {
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+reqMajorVer+','+reqMinorVer+','+reqRevVer+',0"');
 document.write(' width="'+width+'" height="'+height+'">');
 document.write(' <param name="movie" value="'+swfFile+'?'+params+'">');
 document.write(' <param name="menu" value="false"> '); 
 document.write(' <param name="quality" value="high">'); 
 document.write(' <param name="wmode" value="transparent">'); 
 document.write(' <embed src="'+swfFile+'?'+params+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'" wmode=transparent menu=false></embed></object>');
}



function MyOpenWindow(URL, WindowName, netscapeWidth, netscapeHeight, width, height)
{
	MyOpenWindowEx(URL, WindowName, netscapeWidth, netscapeHeight, width, height, 0)
}

function MyOpenWindowEx(URL, WindowName, netscapeWidth, netscapeHeight, width, height, scrollbars)
{
	var AppName = navigator.appName;
	var w = screen.width;
	var h = screen.height;

	if (document.all) {
	   w = document.body.clientWidth;
	   h = document.body.clientHeight;
	}
	else if (document.layers) {
	   w = window.innerWidth;
	   h = window.innerHeight;
	}

   w = document.body.clientWidth;
   h = document.body.clientHeight;

	var leftPos = (w-width)/2+self.screenLeft, topPos = (h-height)/2+self.screenTop;
	
	var isIE    = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
	
	if (!isIE) 
	{
		leftPos = (w-netscapeWidth)/2+self.screenLeft;
		topPos = (h-netscapeHeight)/2+self.screenTop;
		NewWindow = window.open("",WindowName,"directories=0,innerHeight=" + netscapeHeight + ",innerWidth=" + netscapeWidth + ",location=0,menubar=0,resizeable=1,screenX=" + topPos + ",screenY=" + leftPos + ",scrollbars=" + scrollbars + ",status=0,titlebar=0,toolbar=0");
	}
	else
	{
		NewWindow = window.open("",WindowName,"height=" + height + ",menubar=0,toolbar=no,resizable=no,scrollbars=" + scrollbars + ",status=0,location=0,width=" + width + ",top=" + topPos + ",left=" + leftPos );
	}
		
	NewWindow.location = URL;
	NewWindow.focus();
}
