<!--//
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function VGopenBrWindow(theURL) { 
	var st = "";
	var hg = 450;
	var wid = 640;
	var lt = ((screen.width/2)-(hg/2));
	var tp = ((screen.height/2)-(wid/2));
	
	st = "left="+lt+",";
	st = st + "top="+tp+",";
	st = st + "status=yes,";
	st = st + "menubar=no,";
	st = st + "width="+wid+",";
	st = st + "height="+hg+",";
	st = st + "resizable=yes,";
	st = st + "scrollbars=yes";
	window.open(theURL,'_blank',st);
}

function openwinver2(theURL, wid, hg, stts) {
	if (!stts) stts = 'no';
	lt = ((screen.width/2)-(wid/2));	
	tp = ((screen.height/2)-(hg/2));
	var st = "left="+lt+",top="+tp+",status=no,menubar=no,width="+wid+",height="+hg+",scrollbars="+stts+",resizable=no";
	window.open(theURL,'_blank',st);
}

function check_q4(obj){
	if (obj.value){
		var c = "You cannot proceed if you are not the owner of the Works.";
		alert(c);
	}
}
function doPrint(){  
	if (window.print) {
    	window.print() ;  
	} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
	document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
	}
}

//-->