// JavaScript Document

/*if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ 
document.write("<body style='margin:0px' ondragstart='return false;' onmousemove='return false' onmousedown='return false' onselectstart='return false;' oncontextmenu='return false;' onload='clearData();' onunload='clearData();' onblur='clearData();' onkeypress='return disableCtrlKeyCombination(event);'
onkeydown='return disableCtrlKeyCombination(event);' >");
function clearData()
{window.clipboardData.setData('text','') }
window.focus=clearData();
setInterval('clearData();',1000)
document.write("</body>");
}
*/
/*
var message="";
function clickIE() {if (document.all){(message);return false;}} 
function clickNS(e) {if(document.layers||(document.getElementById&&!document.all)){
if (e.which==2||e.which==3) {(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 onccKeyDown() { 
// current pressed key  
var pressedKey = String.fromCharCode(event.keyCode).toLowerCase();   
if (event.ctrlKey && (pressedKey == "a" || pressedKey == "c" || pressedKey == "v")) 
{   
// disable key press porcessing    
event.returnValue = false;  } } 
// onKeyDown
function disableCtrlKeyCombination(e)
{
        //list all CTRL + key combinations you want to disable
        var forbiddenKeys = new Array(‘a’, ‘n’, ‘c’, ‘x’, ‘v’, ‘j’,‘p’);
        var key;
        var isCtrl;

        if(window.event)
        {
                key = window.event.keyCode;     //IE
                if(window.event.ctrlKey)
                        isCtrl = true;
                else
                        isCtrl = false;
        }
        else
        {
                key = e.which;     //firefox
                if(e.ctrlKey)
                        isCtrl = true;
                else
                        isCtrl = false;
        }

        //if ctrl is pressed check if other key is in forbidenKeys array
        if(isCtrl)
        {
                for(i=0; i<forbiddenkeys .length; i++)
                {
                        //case-insensitive comparation
                        if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase())
                        {
                                alert(‘Key combination CTRL + ‘
                                        +String.fromCharCode(key)
                                        +‘ has been disabled.’);
                                return false;
                        }
                }
        }
        return true;
}
*/

