/*
function right(e) {
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
		return false;
	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
//		alert("I'm sorry, The Right click option on your mouse has been disabled for the download window pages.");
		return false;
	}
	return true;
} 

document.onmousedown = right;
document.onmouseup = right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown = right;
window.onmouseup = right;


function disableselect(e){
	return false;
} 
  
function reEnable(){
	return true;
} 
  
document.onselectstart = new Function ("return false;"); //IE4+
  
if (window.sidebar) { //NS6
	document.onmousedown = disableselect;
	document.onclick = reEnable;
}
 
*/

function popup(url, target, width, height) {
	desktop = window.open(url, target, "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,width="+width+",height="+height+",resizable=no");
	desktop.focus();
}

function toggle(n) {
	document.all[n].style.display = ('none' == document.all[n].style.display) ? '' : 'none';
}

function handlePopup(name, closeIt) {
	if (closeIt == 'true') {
		opener.location.reload();
		window.close();
	} else
		window.name = name;
}
 
function popupResizable(url, target, width, height) {
	desktop = window.open(url, target, "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width="+width+",height="+height+",resizable=yes");
	desktop.focus();
}


