

//// Disable Right Click
var message="";

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")
//// Disable Right Click

//// Title Tag / Status Bar
var default1 = "Welcome to Fresh Coffee!"; 
var text1 = "Welcome to Fresh Coffee!";

var changeRate = 2000; 
var messageNumber = 0;

function changeStatus() {
  if (messageNumber == 0) {
     window.status=default1;
     document.title=default1;
    }


  messageNumber++;
  setTimeout("changeStatus();",changeRate);

}

changeStatus(); 


function openWin( windowURL, windowName, windowFeatures ) { 
  return window.open( windowURL, windowName, windowFeatures ) ; 
 }
//// Title Tag / Status Bar

//// Bookmark
function addbookmark()
{
bookmarkurl="http://www.fresh-coffee.net"
bookmarktitle="Joffrey's coffee"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
//// Bookmark

//// Disable Text Select
function disableselect(e){
return false
}

function reEnable(){
return true
}

document.onselectstart=new Function ("return false")

if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//// Disable Text Select

