var message="Function Disabled!";
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")


function openIT(x,t,in_w,in_h) {
	
	theURL=x
	wname ="CHROMELESSWIN"
	W=in_w;
	H=in_h;
	
	windowCERRARa 		= "../images/close_a.gif"
	windowCERRARd 		= "../images/close_d.gif"
	windowCERRARo 		= "../images/close_o.gif"
	windowNONEgrf 		= "../images/none.gif"
	windowCLOCK			= "../images/clock.gif"
	windowREALtit			= "Task title"
	windowTIT 	    		= "<font face=verdana size=1>" + t + "</font>"
	windowBORDERCOLOR   	= "#000000"
	windowBORDERCOLORsel	= "#000000"
	windowTITBGCOLOR    	= "#646400"
	windowTITBGCOLORsel 	= "#C16100"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
