var my_client = new UserClient( ) ;var flash_version = 6 ;var is_installed = false ;var w = 750; //change herevar h = 500; //change herevar src_swf = "flash/flash.swf"; //change herevar src_altimg = "flash/noflash.jpg"; //change herevar loop = "false"; //change herevar wmode = "transparent"; //change herevar bgcolor = "#FFFFFF"; //change hereif (my_client.opera && navigator.plugins["Shockwave Flash"]) {	var sp = navigator.plugins["Shockwave Flash"].description.indexOf("Flash") ;	var ep = navigator.plugins["Shockwave Flash"].description.lastIndexOf(" ") ;	var usr_ver = parseFloat(navigator.plugins["Shockwave Flash"].description.substring(sp+6, ep)) ;	if (usr_ver >= flash_version) {		var is_installed = true ;	}}else if (my_client.Win && my_client.ie) {	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n') ;	document.write('on error resume next \n') ;	document.write('contentVersion = 6 \n') ;	document.write('is_installed = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & contentVersion))) \n') ;	document.write('</SCR' + 'IPT\> \n') ;	if (my_client.ie4) {		var is_installed = false ;	}}else if (my_client.Mac && my_client.ie) {	if (!my_client.ie4 && navigator.plugins["Shockwave Flash"]) {		var sp = navigator.plugins["Shockwave Flash"].description.indexOf("Flash") ;		var ep = navigator.plugins["Shockwave Flash"].description.lastIndexOf(" ") ;		var usr_ver = parseFloat(navigator.plugins["Shockwave Flash"].description.substring(sp+6, ep)) ;		if (usr_ver >= flash_version) {			var is_installed = true ;		}	}}else if (my_client.nn && navigator.plugins["Shockwave Flash"]) {	var sp = navigator.plugins["Shockwave Flash"].description.indexOf("Flash") ;	var ep = navigator.plugins["Shockwave Flash"].description.lastIndexOf(" ") ;	var usr_ver = parseFloat(navigator.plugins["Shockwave Flash"].description.substring(sp+6, ep)) ;	if (usr_ver >= flash_version) {		var is_installed = true ;	}}function UserClient( ) {	this.nav_name = navigator.appName ;	this.nav_agnt = navigator.userAgent ;	this.nav_ver = navigator.appVersion ;	this.Win = (this.nav_agnt.indexOf("Win",0) != -1) ;	this.Mac = (this.nav_agnt.indexOf("Mac",0) != -1) ;	this.ie = (this.nav_name == "Microsoft Internet Explorer") ;	this.ie4 = (this.nav_ver.indexOf('MSIE 4') > 0) ;	this.nn = (this.nav_name == "Netscape") ;	this.opera = (this.nav_agnt.indexOf("Opera", 0) != -1) ;	this.safari = (this.nav_agnt.indexOf("Safari", 0) != -1) ;}function flash() {	if (is_installed) {		document.write (				'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ' +				'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" ' +				'width="' + w + '" height="' + h + '">' +					'<param name = "movie" value="' + src_swf + '">' +				'<param name = "quality" value="high">' +				'<param name = "loop" value= "' + loop + '">' +				'<param name = "wmode" value= "' + wmode + '">' +				'<embed src="' + src_swf + '" width="' + w + '" height="' + h + '" loop = "' + loop + '" ' +				'quality="high" bgcolor="' + bgcolor + '"' +				'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>' +				'</object>'		) ;	}	else {		document.write (				'<img src="' + src_altimg + '" width="' + w + '" height="' + h + '" border="0" hspace="0" vspace="0" alt=""><br>'		) ;	}}
