<!--

function windowopen (url, w, h)
{
nn4 = (document.layers)? true : false;
ie4 = (document.all)? true : false;
posX = Math.round((screen.width - w) / 2);
posY = Math.round((screen.height - h) / 2);
//widthGif+=20;
//heightGif+=20;
poscode = (nn4)? "screenX="+posX+",screenY="+posY : "left="+posX+",top="+posY;
window.open(url, "photoWindow", "status=yes,width="+w+",height="+h+","+poscode);
}

function windowopen_scroll (url, w, h)
{
nn4 = (document.layers)? true : false;
ie4 = (document.all)? true : false;
posX = Math.round((screen.width - w) / 2);
posY = Math.round((screen.height - h) / 2);
//widthGif+=20;
//heightGif+=20;
poscode = (nn4)? "screenX="+posX+",screenY="+posY : "left="+posX+",top="+posY;
window.open(url, "photoWindow", "status=yes,scrollbars=yes,width="+w+",height="+h+","+poscode);
}

home=new Image;home.src="/buttons/home.gif";
home_n=new Image;home_n.src="/buttons/home_n.gif";
about=new Image;about.src="/buttons/about.gif";
about_n=new Image;about_n.src="/buttons/about_n.gif";
prices=new Image;prices.src="/buttons/prices.gif";
prices_n=new Image;prices_n.src="/buttons/prices_n.gif";
food=new Image;food.src="/buttons/food.gif";
food_n=new Image;food_n.src="/buttons/food_n.gif";
contacts=new Image;contacts.src="/buttons/contacts.gif";
contacts_n=new Image;contacts_n.src="/buttons/contacts_n.gif";

function preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

function findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
}

function showHideLayers() { //v3.0
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

timedlayer = setTimeout("", 1)
function timedrestore() { //v3.0
	clearTimeout(timedlayer)
	timedlayer = setTimeout("showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide')", 250)
}

function stoptime() { //v3.0
	clearTimeout(timedlayer)
}

function topimg(h, p, s, w, b, v) {
	var one = 'buttons/home' + h + '.gif'
	var two = 'buttons/about' + p + '.gif'
	var three = 'buttons/prices' + s + '.gif'
	var four = 'buttons/food' + w + '.gif'
	var five = 'buttons/contacts' + b + '.gif'
	document.images.th.src = one
	document.images.ta.src = two
	document.images.tp.src = three
	document.images.tf.src = four
	document.images.tc.src = five
}

-->