var rqv=6;var f2i=false;var f3i=false;var f4i=false;var f5i=false;var f6i=false;var f7i=false;var MV=7;var AV=0;
var isIE=(navigator.appVersion.indexOf("MSIE") != -1) ? true : false;var isWin=(navigator.appVersion.indexOf("Windows") != -1) ? true : false;

function DF(fC,nofC) { 
	
if(isIE && isWin){
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('jsVersion=1.1 \n');
	document.write('f2i=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
	document.write('f3i=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
	document.write('f4i=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
	document.write('f5i=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n'); 
	document.write('f6i=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n'); 
	document.write('f7i=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n'); 
	document.write('</SCR' + 'IPT\> \n'); 
}

if (navigator.plugins) {
	if (navigator.plugins["Shockwave Flash 2.0"]	|| navigator.plugins["Shockwave Flash"]) {
		var isVersion2=navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
		var flashDescription=navigator.plugins["Shockwave Flash" + isVersion2].description;
		var fV=parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));f2i=fV==2;f3i=fV==3;f4i=fV==4;f5i=fV==5;f6i=fV==6;f7i=fV>=7;
	}
}

for (var i=2; i <= MV; i++) { if (eval("f" + i + "i")==true) AV=i;}
if (AV < rqv) {document.write(nofC);} else {document.write(fC);}
}

function showPopupImgWindow(im,w,h,alt){
	imgwindow = window.open('',"_blank","resizable=no,menubar=no,status=no, top=30, left=100; scrollbars=no,width="+w+",height="+h);
	imgwindow.document.open("text/html");
	imgwindow.document.writeln("<html>\n<head>\n<title>"+alt+"<\/title>");
	imgwindow.document.writeln("<\/head>\n<body bgcolor=#ffffff marginwidth=0 marginheight=0 topmargin=0 leftmargin=0 onBlur=\"self.close();\" onLoad=\"resizepage();\">");
	imgwindow.document.writeln("<a href=\"javascript:self:close();\"><img src=\""+im+"\" width="+w+" height="+h+" alt=\""+alt+"\" border=0></a>\n<\/body>\n<\/html>");
	imgwindow.focus();
}

function showPopupMov(m,w,h){
	movw = window.open('',"_blank","resizable=no,menubar=no,status=no, top=30, left=100; scrollbars=no,width="+(w+5)+",height="+(h+5));
	movw.document.open("text/html");
	movw.document.writeln("<html>\n<head>\n<title>Video<\/title>");
	movw.document.writeln("<\/head>\n<body bgcolor=#000 marginwidth=0 marginheight=0 topmargin=0 leftmargin=0>");
	movw.document.writeln("<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td align=\"center\">");
	movw.document.writeln("<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0\" height=\""+h+"\" width=\""+w+"\">");
	movw.document.writeln("<embed autoplay=\"true\" controller=\"true\" pluginspage=\"http://www.apple.com/quicktime/download/indext.html\" src=\""+m+"\" target=\"myself\" type=\"video/quicktime\" height=\""+h+"\" width=\""+w+"\"></embed>");
	movw.document.writeln("<param name=\"autoplay\" value=\"true\">");
	movw.document.writeln("<param name=\"controller\" value=\"true\">");
	movw.document.writeln("<param name=\"pluginspage\" value=\"http://www.apple.com/quicktime/download/indext.html\">");
	movw.document.writeln("<param name=\"src\" value=\""+m+"\">");
	movw.document.writeln("<param name=\"target\" value=\"myself\">");
	movw.document.writeln("<param name=\"type\" value=\"video/quicktime\">");
	movw.document.writeln("</object>");
	movw.document.writeln("</td></tr></table>");
	movw.document.writeln("\n<\/body>\n<\/html>");
	movw.focus();
}


