

var url=window.location;
url = url.toString();
var str=url.match("mail");

var url2=window.location;
url2 = url2.toString();
var str2=url2.match("join");

var url3=window.location;
url3 = url3.toString();
var str3=url3.match("invite");

var url4=window.location;
url4 = url4.toString();
var str4=url4.match("profile_audio");

var url5=window.location;
url5 = url5.toString();
var str5=url5.match("forget_password");


var url6=window.location;
url6 = url6.toString();
var str6=url6.match("contact");


//alert(str);


if(window.location!="http://www.liyathabara.com/profile_audio_edit.php" && window.location!="http://www.liyathabara.com/profile.php" && str!="mail" && str2!="join" && str3!="invite"  && str4!="profile_audio" && str5!="forget_password" && str6!="contact"){

var message="Sorry Right Click is Disabled on this page.!"; // Message for the alert box

// Don't edit below!

function right(e) {

    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {

      alert(message);

      return false;

    }

    else if (event.button == 2 || event.button == 3) {

      alert(message);

      return false;

    }

    return true;

  }





  if (document.layers){

    document.captureEvents(Event.MOUSEDOWN);

    document.onmousedown = right;

  }

  else if (document.all && !document.getElementById){

    document.onmousedown = right;

  }



	document.oncontextmenu = new Function("alert(message);return false");


}
// -->
