var UseFlash = 0;
var NoneFlashImg = "i/promo_small.jpg";
var FlashCode1='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH=132 HEIGHT=197><PARAM NAME=movie VALUE="bann_small_6.swf"><PARAM NAME=loop VALUE=false><PARAM NAME=menu VALUE=false><PARAM NAME=quality VALUE=high><PARAM NAME=wmode VALUE=transparent>';
var FlashCode2='<EMBED src="bann_small_6.swf" loop=false menu=false quality=high bgcolor=#FFFFFF  WIDTH=132 HEIGHT=197 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>';
var FlashCode3='</OBJECT>';

//Check for Flash version
// Check for Flash version 4 or greater in Netscape
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 6 ) {
UseFlash = 1;

// Check for Flash version 4 or greater in Explorer
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('UseFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
document.write('</SCRIPT\> \n'); }

// Code for flash and NoneFlashImg
if (UseFlash) {
document.write(FlashCode1);
document.write(FlashCode2);
document.write(FlashCode3);
} else {
document.write('<img src=' + NoneFlashImg + ' width="132" height="197" border="0">'); }
