function pop(page, w, h, name) {
	specs = "toolbar=no,location=no,directories=no,status=no,resizable=yes,scrollbars=no,width=" + w + ",height=" + h + ",menubar=no";
	z = window.open(page, name, specs);
	z.focus();
}
function popscr(page, w, h, name) {
	specs = "toolbar=no,location=yes,directories=no,status=yes,resizable=yes,scrollbars=yes,width=" + w + ",height=" + h + ",menubar=no";
	z = window.open(page, name, specs);
	z.focus();
}
var ireallyhaveflash = false;
if (((navigator.appName == "Netscape") && (parseFloat(navigator.appVersion) >= 4) && navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)) {
	if (navigator.plugins['Shockwave Flash'].description.indexOf("6.") != -1) ireallyhaveflash = true;
	if (navigator.plugins['Shockwave Flash'].description.indexOf("7.") != -1) ireallyhaveflash = true;
	if (navigator.plugins['Shockwave Flash'].description.indexOf("8.") != -1) ireallyhaveflash = true;
	if (navigator.plugins['Shockwave Flash'].description.indexOf("9.") != -1) ireallyhaveflash = true;
	if (navigator.plugins['Shockwave Flash'].description.indexOf("10.") != -1) ireallyhaveflash = true;
	if (navigator.plugins['Shockwave Flash'].description.indexOf("11.") != -1) ireallyhaveflash = true;
	if (navigator.plugins['Shockwave Flash'].description.indexOf("12.") != -1) ireallyhaveflash = true;
}
else if ( (navigator.userAgent) && (navigator.userAgent.indexOf("MSIE") >= 0) && (navigator.appVersion.toLowerCase().indexOf("win") != -1) ) {
	document.write('<script language=VBScript>');
	document.write('on error resume next \n');
	document.write('ireallyhaveflash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
	document.write('ireallyhaveflash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');
	document.write('ireallyhaveflash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n');
	document.write('ireallyhaveflash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9"))) \n');
	document.write('ireallyhaveflash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.10"))) \n');
	document.write('<\/script>');
}
function fembed(movie, width, height, quality, bgcolor) {
	document.write("<object classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 width=" + width + " height=" + height + "><param name=wmode value=transparent><param name=allowScriptAccess value=sameDomain><param name=movie value=" + movie + "><param name=quality value=" + quality + "><param name=bgcolor value=" + bgcolor + "><embed src=" + movie + " quality=" + quality + " bgcolor=" + bgcolor + " width=" + width + " height=" + height + " allowScriptAccess=sameDomain wmode=transparent type=application/x-shockwave-flash></object><br>");
}
function qtbed(movie, width, height) {
	document.write("<object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B width=" + width + " height=" + height + "><param name=src value=" + movie + "><param name=autoplay value=true><param name=controller value=true><param name=cache value=true><embed src=" + movie + " width=" + width + " height=" + height + " type=video/quicktime controller=true autoplay=true cache=true></object><br>");
}

function img_act(v) {
	document[v].src = eval(v + "on.src");
}
function img_inact(v) {
	document[v].src = eval(v + "off.src");
}
function blockoff(v) {
	if (document.getElementById) document.getElementById(v).style.display = "none";
}
function blockon(v) {
	if (document.getElementById) document.getElementById(v).style.display = "block";
}
function toggle(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != 'none' ) {
		el.style.display = 'none';
		
	}
	else {
		el.style.display = '';
		
	}return false;  
}
function popDeck() { 
    window.open("","myNewWin","width=620,height=500,location=no, directories=no,status=yes,resizable=yes,scrollbars=yes,menubar=no"); 
    var a = window.setTimeout("document.form.submit();",500); 
} 
function popDeckWide() { 
    window.open("","myNewWin","width=720,height=500,location=no, directories=no,status=yes,resizable=yes,scrollbars=yes,menubar=no"); 
    var a = window.setTimeout("document.form.submit();",500); 
} 

