function flash(CateStr, widthSWF, heightSWF) {
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"  width="'+widthSWF+'" height="'+heightSWF+'" id=ShockwaveFlash1>')
document.write('<param name="movie" value="/flash/'+CateStr+'">')
document.write('<param name="menu" value="false">')
document.write('<param name="quality" value="high">')
document.write('<param name="wmode" value="transparent">')
document.writeln('<embed src="/flash/'+CateStr+'" width="'+widthSWF+'" height="'+heightSWF+'" menu=false quality=best pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>')
document.writeln('</object>')
}


function menu(CateStr, widthSWF, heightSWF) {
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"  width="230" height="470" id=ShockwaveFlash1>')
document.write('<param name="movie" value="/flash/'+CateStr+'">')
document.write('<param name="menu" value="false">')
document.write('<param name="quality" value="high">')
document.write('<param name="wmode" value="transparent">')
document.writeln('<embed src="/flash/'+CateStr+'" width="230" height="470" menu=false quality=best pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>')
document.writeln('</object>')
}

/*
//link
function autoBlur(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="/img") 
document.body.focus(); 
} 
document.onfocusin=autoBlur; 
*/

//new windows
function MM_openBrWindow(theURL,winName,features) { //v2.0
	var win = window.open(theURL,winName,features);
	win.focus();
}
//-->

// png
function setPNG24(obj) {
	obj.width=obj.height=1;
	obj.className=obj.className.replace(/\bPNG24\b/i,'');
	obj.style.filter =
	"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
	obj.src='';
	return '';
}

// document close
function closeWin() 
{ 
	self.close(); 
} 

// print
function printWin() 
{ 
	window.print(); 
} 

// form reset
function winReset(id)
{
	var obj = document.getElementById(id);
	obj.reset();
	return false;
}

// image change
function imageChange(id,src)
{
	var obj = document.getElementById(id);
	obj.src = src;
}



