var d=document;
var today=new Date();
var year=today.getYear();
if(year<1900)year+=1900;

function clickMess(e){
if(document.all&&event.button==2){
alert('Ravintola Escape ©'+thisyear);
return false;
}
else if(navigator.appName=='Netscape'){if(document.getElementById&&e.which==3)alert('Ravintola Escape ©'+thisyear);
else if(document.layers&&e.which==3)return false;}
}
if(document.layers)document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickMess;
document.onkeydown=clickMess;

//////////no rightclick/////////
var message='';
function clickIE(){if(document.all){(message);return false;}}
function clickNS(e){
if(document.layers||(document.getElementById&&!document.all)){
	if(e.which==2||e.which==3){(message);return false;}}}
	if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false");

//////////no textselect///////////
var omitformtags=["input","textarea","select"];
omitformtags=omitformtags.join("|");

function disableselect(e){
if(omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)return false;
}

function reEnable(){
return true;
}

if(typeof document.onselectstart!="undefined")document.onselectstart=new Function("return false");
else{
document.onmousedown=disableselect;
document.onmouseup=reEnable;
}
//////////////////////////////////

//d.write('<SCRIPT SRC="http://www.countstats.net/counter.js" TYPE="text/javascript"><\/SCR'+'IPT>');

d.write('<BODY STYLE="background-image:url(images\/bg.jpg);background-repeat:repeat-x;height:387px;vertical-align:top;margin:0px 0px 0px 0px;">');

d.write('<DIV STYLE="height:100%;" ALIGN="center"><TABLE WIDTH="950" CELLSPACING="0" CELLPADDING="1" BORDER="0"><TR STYLE="height:60px"><TD ALIGN="center" VALIGN="top"><FONT FACE="Arial" STYLE="font-size:12px"><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>');
google_ad_client="pub-6190483492051208";
google_alternate_ad_url="http://gheos.org/g/gheos.com/atlas/adverts/ad120.php";
google_ad_width=120;
google_ad_height=600;
google_ad_format="120x600_as";
google_ad_type="text_image";
google_ad_channel="";
google_color_border="DF3C03";
google_color_bg="FFFFFF";
google_color_link="962828";
google_color_url="962828";
google_color_text="DF3C03";
google_ui_features="rc:6";

d.write('<SCRIPT SRC="http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js" TYPE="text\/javascript"><\/SCR'+'IPT><\/FONT><\/TD>');

d.write('<TD ALIGN="center" VALIGN="top"><TABLE WIDTH="700" BORDER="0" CELLSPACING="0" CELLPADDING="0">');

d.write('<TR><TD WIDTH="700" STYLE="height:354px;vertical-align:top;margin:0px 0px 0px 0px;">');

d.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0" WIDTH="700" HEIGHT="320">');
d.write('<PARAM NAME="movie" VALUE="header.swf">');
d.write('<PARAM NAME="quality" VALUE="high">');
d.write('<PARAM NAME="menu" VALUE="false">');

d.write('<!--[if !IE]> <-->');
d.write('<OBJECT DATA="header.swf" WIDTH="700" HEIGHT="354" TYPE="application\/x-shockwave-flash">');
d.write('<PARAM NAME="quality" VALUE="high">');
d.write('<PARAM NAME="menu" VALUE="false">');
d.write('<PARAM NAME="pluginurl" VALUE="http:\/\/www.macromedia.com\/go\/getflashplayer">');
d.write('FAIL (the browser should render some flash content, not this)');
d.write('<\/OBJECT>');
d.write('<!--> <![endif]-->');

d.write('<\/OBJECT>');

d.write('<\/TD><\/TR>');

d.write('<TR><TD WIDTH="700" STYLE="background-image:url(images\/main.jpg);background-repeat:no-repeat;vertical-align:top">');

d.write('<TABLE WIDTH="700" BORDER="0" CELLSPACING="0" CELLPADDING="5">');
