function insertFlash(elm,eleid, url, w, h) {
if (!document.getElementById(elm)) return;
var str = '';
str += '<object width="'+ w +'" height="'+ h +'" id="'+eleid+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">';
str += '<param name="movie" value="'+ url +'" />';
str += '<param name="allowScriptAccess" value="sameDomain" />';
str += '<param name="wmode" value="opaque" />';
str += '<param name="quality" value="autohigh" />';
str += '<embed width="'+ w +'" height="'+ h +'" name="'+eleid+'" src="'+ url +'" quality="autohigh" swLiveConnect="always" wmode="opaque" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
str += '</object>';
document.getElementById(elm).innerHTML = str;
}
function openUrl( urlStr, target ) { 
	if(urlStr!=''){
		if( target == '' ){
			this.window.location.href = urlStr; 
			} else if(parent.frames[target]){ 
			parent.frames[target].document.location = urlStr; 
			} else if( parent.parent.frames[target] ){ 
			parent.parent.frames[target].document.location = urlStr; 
			} else { window.open( urlStr, target ); } 
	}else{return false;}
}
