function blockError(){return true;} 

window.onerror = blockError;
function atlpdp1()
    {
        for(wi=0;wi<document.all.length;wi++)
            {
                if(document.all[wi].style.visibility!='hidden')
                    {
                        document.all[wi].style.visibility='hidden';document.all[wi].id='atlpdpst'
                    }
            }
    }
    
function atlpdp2()
    {
        for (wi=0;wi<document.all.length;wi++)
            {
                if(document.all[wi].id=='atlpdpst')
                    {
                        document.all[wi].style.visibility=''
                    }
            }
    }
window.onbeforeprint=atlpdp1;window.onafterprint=atlpdp2;
document.onselectstart  =   new Function("return false");
document.ondragstart    =   new Function("return false");

if (window.Event)
			document.captureEvents(Event.MOUSEUP);

		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;
			}
		}

		if (document.layers)
			document.captureEvents(Event.MOUSEDOWN);

		document.oncontextmenu = nocontextmenu;
		document.onmousedown = norightclick;
		document.onmouseup = norightclick;
		
var message="Welcome To Nanoganesh.com | Ossian Group";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;


function MM_displayStatusMsg(msgStr) { 
  status=msgStr;
  document.MM_returnValue = true;
}

//Copyright 2008 - 09 © Akshay Pund
