//---- flash view -----//
function ShowFlash(url, width, height){
	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="' + width + '" height="' + height + '" VIEWASTEXT>');
	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="menu" value="false">');
	document.write('<PARAM NAME=wmode VALUE=transparent>');
	document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
	document.write('</object>');
}


//-----img rollover------//
function imgExchange(obj){

imgName = obj.src.slice(obj.src.lastIndexOf('/') + 1, obj.src.length);
imgPath = '../en/images/'; 

if(imgName.indexOf('_over') > 0){
imgName = imgName.replace('_over', '');
}else{
imgName = imgName.replace('.', '_over.');
}

obj.src = imgPath + imgName;

}

//-----img onfocus=blur()------//
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 

function winOpen(url, name, scroll, resize) {
	if(url) window.open(url, name, 'width=100%,height=100%,scrollbars='+scroll+',resizable='+resize);
}

//left 2depth



