// JavaScript Document
//function to bookmark
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
//function for sending mail
function sendFullMailTo(name, company, domain, Subject, Cc, Bcc, Body) {

          locationstring = 'mai' + 'lto:' + name + '@' + company + '.' + domain + "?cc=" + Cc + "&bcc=" + Bcc + "&subject=" + escape(Subject) + "&body=" + escape(Body);

      window.location.replace(locationstring);

   }
//disable right click
function disableRightClick(e)

{

  var message = "for Copyright considerations, Right click will be disabled troughout all our website";

  

  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)

    {

      alert(message);

      return false;

    }

  }

  else

  {

    alert(message);

    return false;

  }

}

disableRightClick();
function MM_displayStatusMsg(msgStr) { //v1.0
  window.status=msgStr;
  document.MM_returnValue = true;
}