//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}

if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);}
else{document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")


//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")




/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}




/*
Pop-Up per nota legal
*/

var newwindow = '';
var alturanota=(screen.height-400)/2;
var anchuranota=(screen.width-340)/2;

function legal(url)

{
newwindow=window.open(url,'legal','height=400,width=340,left='+anchuranota+',top='+alturanota+',scrollbars=1,status=no,toolbar=no,directories=no,menubar=no');
}




/*
Pop-Up pel login area clients
*/

var loginwindow = '';
var alturalogin=(screen.height-340)/2;
var anchuralogin=(screen.width-400)/2;

function login(url)

{
loginwindow=window.open(url,'login','height=340,width=400,left='+anchuralogin+',top='+alturalogin+',scrollbars=1,status=no,toolbar=no,directories=no,menubar=no');
}




/*
Pop-Up pel correu
*/

var newwindow = '';
var alturacorreu=(screen.height-450)/2;
var anchuracorreu=(screen.width-700)/2;

function mail(url)

{
newwindow=window.open(url,'contactar','height=450,width=700,left='+anchuracorreu+',top='+alturacorreu+',scrollbars=0,status=no,toolbar=no,directories=no,menubar=no');
}