function secure()
	{
	document.body.directories='no'
	document.body.toolbar='no'
	document.body.menubar='no'
	document.body.location='no'
	document.body.scrollbars='no'
	document.body.resizable='no'
	document.body.status='no'
	document.body.copyhistory='no'
	}
function nocontextmenu()
	{
	event.cancelBubble = true
	event.returnValue = false;
	return false;
	}
function norightclick(e)
	{
	if (window.Event)
		{
		if (e.which == 2 || e.which == 3)
			{
			return false;
			}
		}
	else if (event.button == 2 || event.button == 3)
		{
		event.cancelBubble = true
		event.returnValue = false;
		return false;	
		}	
	}
// window.onresize=secure
// document.oncontextmenu = nocontextmenu;
// document.onmousedown = norightclick;
// document.onmouseup = norightclick;
// if (window.Event && document.layers)
// 	document.captureEvents(Event.MOUSEDOWN);
// if (window.Event && document.layers)
// 	document.captureEvents(Event.MOUSEUP);
// window.onmousedown = norightclick;
// window.onmouseup = norightclick;

// var flag=0;
function allow(flag)
	{
	this.flag = flag;
	}

function keyDown(evt)
	{
	keycode = event.keyCode;
	Shift = event.shiftKey;
	Ctrl = event.ctrlKey;
	Alt = event.altKey;
	/*
	//Alt+Left Arrow
	if(Alt && (keycode == 37))
		{
		//alert("No Page Navigation Allowed");
		event.cancelBubble = true;
		event.returnValue = false;
		return false;
		}

	//Ctrl+N
	if(Ctrl && (keycode == 78))
		{
		//alert("New Window is Not allow");
		event.cancelBubble = true;
		event.returnValue = false;
		return false;
		}
	//Alt+Right Arrow
	if(Alt && (keycode == 39))
		{
		//alert("No Page Navigation Allowed");
		event.cancelBubble = true;
		event.returnValue = false;
		return false;
		}
	//BackSpace	
	if((flag == 0) && (keycode == 8))
		{
		//alert("No BackSpace Allowed");
		event.cancelBubble = true;
		event.returnValue = false;
		return false;
		}
	*/	
	}
document.onkeydown = keyDown;
window.onkeydown = keyDown;