// JavaScript Document
//alert("hi");
function popUP(pageName, winName, features)
{
	//alert(pageName);
	window.open (pageName,winName,features);
}

function writeFlash(flash_name, fwidth, fheight){
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+fwidth+'" height="'+fheight+'">');
	document.write('<param name="movie" value="'+flash_name+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="trasparent"/>');
	document.write('<embed src="'+flash_name+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+fwidth+'" height="'+fheight+'">');document.write('</embed>');
	document.write('</object>');
}