
function openHelpWindow(page,item) {
	
	OpenWin = this.open('/DM/help/info-'+page+'.asp#'+item, "HelpWindow", "toolbar=no,status=no,width=580,height=520,menubar=no,location=no,scrollbars=yes,status=no,resizable=yes");
	OpenWin.focus();
}


function openVenueWindow(venueID) {

	OpenWin = this.open('/opera/pop-venue.asp?id='+venueID, 'VenueWindow', 'toolbar=no,menubar=no,width=685,height=470,location=no,scrollbars=yes,resizable=yes,status=no');
	OpenWin.focus();
}




function openFormHelpWindow(content,id,title,fileid) {
	theWidth=380;
	theHeight=420;
	if (content==''){
		theWidth=620;
		theHeight=450;
	}	
	if (fileid==''){
		fileid='/DM/schools/form_help.asp';
	}
	else{
		fileid='/DM/help/'+fileid;
	}
	OpenWin = this.open(fileid+'?hid='+id+'&title='+title+'&txt=' + content, 'HelpWindow', 'location=no,directories=no,menubar=no,toolbar=no,status=no,width='+theWidth+',height='+theHeight+',scrollbars=yes,resizable=yes');
	OpenWin.focus();
}


// Hide/show div's table/rows
function funcjs_showstuff(boxid){ 
   document.getElementById(boxid).style.visibility="visible"; 
} 

function funcjs_hidestuff(boxid){ 
   document.getElementById(boxid).style.visibility="hidden"; 
}


function funcjs_removesection(boxid){ 
   document.getElementById(boxid).style.display="none";
} 

function funcjs_showsection(boxid){ 
   document.getElementById(boxid).style.display="block";
}


// Confirmation for deletion
function validateDelete(theType) { 
  var returnVal = confirm("Are you sure you want to delete this " + theType + "?");
  if (returnVal){ 
     return true;
   }
  return false;
}


	/** for bullets mouse overs, see inc_aspAppBullets.asp **/
	function showT(imgID,imgFile){ 
		document.getElementById(imgID).setAttribute('src','/opera/include/images/bullets/bullet-'+imgFile+'.gif');
	} 
	function funcjs_DealWithMousoverImageButton(imgID,imgFile){ 
		document.getElementById(imgID).setAttribute('src',imgFile);
	} 	
	

