// JavaScript Document



function writeFlash( swf , width , height )
{
	if(plugin){
		
		var htm = ""
		htm+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
		htm+="        codebase='http://download.macromedia.com/pub/shockwave/"
											htm+="cabs/flash/swflash.cab'"
		htm+="        width   = " + width 
		htm+="        height  = " + height + ">"
		htm+="<param  name    = movie value=" + swf + ">"
		htm+="<param  name    = quality value=high>"
		htm+="<param  name    = wmode value=transparent>"
		htm+="<embed  src     = " + swf + " "
		htm+="        wmode   = transparent  " 
		htm+="        quality = high  "
		htm+="        width   = "+ width 
		htm+="        height  = " + height
		htm+="        type    = 'application/x-shockwave-flash' "
		htm+="        pluginspage='http://www.macromedia.com/go/getflashplayer'>"
		htm+="</embed>"
		htm+="</object>"
		
		 document.write(htm)

	}else{
		document.write('<img src="images/main_01.jpg" border="0" usemap="#Map" />');
		document.write(' ');
	}
}



var plugin = 0;
if(navigator.mimeTypes &&
	 navigator.mimeTypes["application/x-shockwave-flash"] &&
	 navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
	if(navigator.plugins && navigator.plugins["Shockwave Flash"]){
		plugin = 1;
	}
}
else if(navigator.userAgent && (navigator.userAgent.indexOf("MSIE") >= 0) &&
	(navigator.userAgent.indexOf("Win") >= 0)){
	document.write('<SCRIPT LANGUAGE="VBScript"\> \n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
	document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('</SCRIPT\> \n');
}

function fla(src,width,height){
	if(plugin){
		writeFlash(src,width,height);
	}else{
document.write('<img src="../images/main_01.jpg" border="0" usemap="#Map" />');
document.write(' ');
}
}