function disableRightClick(e)

{

  var message = "www.creativeras.com";

  

  if(!document.rightClickDisabled) // initialize

  {

    if(document.layers) 

    {

      document.captureEvents(Event.MOUSEDOWN);

      document.onmousedown = disableRightClick;

    }

    else document.oncontextmenu = disableRightClick;

    return document.rightClickDisabled = true;

  }

  if(document.layers || (document.getElementById && !document.all))

  {

    if (e.which==2||e.which==3)

    {

      return false;

    }

  }

  else

  {


    return false;

  }

}

disableRightClick();


<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->


<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->


var strBrowserType;
blnIsBrowserCompatible();

function subGetDataAndExecute(strScriptId, strURLData, strCallBackCode, blnStamp)
{
    try
    {
        var objHead = document.getElementsByTagName("head").item(0);
        var objScript = document.getElementById(strScriptId);
        if(objScript) {
            objHead.removeChild(objScript);
        }
        if(blnStamp == true) {
            strURLData += strTimeStamp(); 
        }
        objScript = document.createElement("script");
        objScript.setAttribute("src", strURLData);
        objScript.setAttribute("id", strScriptId);
        if(strCallBackCode.length > 0)
        {
            switch(strBrowserType) {
                case "ie":
                    objScript.onreadystatechange = function() {
                        if(this.readyState == "complete" || this.readyState == "loaded")
                        {
                            subExecuteCommand(strCallBackCode, 0);
                        }
                    }
                    break;
                case "ff":
                    objScript.onload = function() {
                        subExecuteCommand(strCallBackCode, 0);
                    }
                    break;
                default:
                    alert('ERROR:: Unknown browser detected !!!');
                    break;
            }
        }
        objHead.appendChild(objScript);
        
    } catch(e) {
        subDisplayError("creativeras.js", "subGetDataAndExecute('" + strScriptId + "', '" + strURLData + "', '" + strCallBackCode + "')", e);
    }
}



function blnIsBrowserCompatible()
{
    try
    {
        var arrBrowsers = new Array( new Array("MSIE", "ie"), new Array("FireFox", "ff"), new Array("Opera", "ff"));
        var strAgent = navigator.userAgent.toLowerCase();
        for(var intCount = 0; intCount < arrBrowsers.length; intCount++)
        {
            if(strAgent.indexOf(arrBrowsers[intCount][0].toLowerCase()) > -1)
            {
                strBrowserType = arrBrowsers[intCount][1].toLowerCase();
                return true;
            }
        }
    } catch(e) {
        subDisplayError("creativeras.js", "blnIsBrowserCompatible()", e);
    }
    return false;
}

<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-95)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=10}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}
// -->

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->