//png24
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 ''; 
}

function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;


function pro_view() {
	window.open("../common/pro_view.asp", "pro_view","width=797,height=600, menubar=no,directories=no,resizable=no,status=no,scrollbars=yes")
}

function swf(url,width,height){
 document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ");
 document.write("  codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ");
 document.write("  width='"+width+"' height='"+height+"' align='middle'>");
 document.write(" <param name='allowScriptAccess' value='always' /> ");
 document.write(" <param name='movie'    value='"+url+"' /> ");
 document.write(" <param name='quality'   value='high' /> ");
 document.write(" <param name='wmode'    value='transparent'> ");
 document.write(" <embed src='"+url+"' quality='high' width='"+width+"' height='"+height+"' align='middle' ");
 document.write("  allowScriptAccess='sameDomain' type='application/x-shockwave-flash' ");
 document.write("  pluginspage='http://www.macromedia.com/go/getflashplayer' />");
 document.write("</object>");
}

//

/*
// JScript source code
function fla(swf_file, swf_width, swf_height, swf_param)
{
	var scnt = cnt_string(swf_param,",") ;
	var split_str = swf_param.split(",") ;

	document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='httpss://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+swf_width+"' height='"+swf_height+"' ID='Shockwaveflash1' VIEWASTEXT>") ;
	for (i=0;i<=scnt;i++)
	{
//		alert("<param name='"+split_str[i].split("@")[0]+"' value='"+split_str[i].split("@")[1]+"'>") ;
		document.writeln("<param name='"+split_str[i].split("@")[0]+"' value='"+split_str[i].split("@")[1]+"'>") ;
	}
	document.writeln("<embed src='"+swf_file+"' quality='high' pluginspage='httpss://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+swf_width+"' height='"+swf_height+"'></embed></object>") ;
}

function inserttag(tag_str)
{
 document.write(tag_str) ;
}


*/

function reSize() {
    try {
        var objBody = auto_iframe.document.body;
        var objFrame = document.all["auto_iframe"];
        ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
        objFrame.style.height = ifrmHeight;
    }
        catch(e) {}
}
function init_iframe() {
    reSize();
    setTimeout('init_iframe()',1)
}



function reSize() {
    try {
        var objBody = auto_iframe.document.body;
        var objFrame = document.all["auto_iframe"];
        ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
        objFrame.style.height = ifrmHeight;
    }
        catch(e) {}
}
function init_iframe() {
    reSize();
    setTimeout('init_iframe()',1)
}

