// fullscreen
function doIt()
{
  if (window.screen) {
                      var aw = screen.availWidth;
                     var ah = screen.availHeight;
                      window.moveTo(0, 0);
                      window.resizeTo(aw, ah);
}}

// check for flash
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

//pop-up window
function launchwin(url,wi,hi,sc,nm)
{
var v = parseInt( navigator.appVersion );
if ( v < 3 )
{
        warning_win = window.open('',nm,'width='+wi+',height='+hi+'');
        warning_win.location.href = url;
		window.link.focus();
}
	if ( v < 4 ) {
		checkWindow = window.open(url,nm,'width='+wi+',height='+hi+',screenx=200,screeny=200,resizable=no,status=no,location=no,toolbar=no,directories=no,scrollbars=yes');
		window.checkWindow.focus();
	} else 
	{
		checkW = parseInt((screen.availWidth-wi)/2);
		checkH	= parseInt((screen.availHeight-hi)/2);
		checkWindow = window.open(url,nm,'width='+wi+',height='+hi+',screenx='+checkW+',screeny='+checkH+',left='+checkW+',top='+checkH+',resizable=no,status=no,location=no,toolbar=no,directories=no,scrollbars=yes');
		window.checkWindow.focus();
	}
}