<!-- hide script from old browsers
	{
//	document.onmouseover=makeCool;
//	document.onmouseout=makeNormal;

	}

	function makeCool() {
		src = event.toElement;
		if (src.tagName == "A" || src.tagName == "a") {
			src.oldcol = src.style.color;
			src.style.color = "#800000";
		}
	}

	function makeNormal() {
		src=event.fromElement;
		if (src.tagName == "A" || src.tagName == "a") {
			src.style.color = src.oldcol;
		}
	}

	function makesureFrame(a) {
			document.write("<html><head>");
			document.write("<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>");
			document.write("<title>Josie Restaurant : A Fine Dining Establishment</title>");
			document.write("<meta name='TITLE' content='Josie : Fine Dining Establishment (Santa Monica) by Chef Josie Le Balch and Frank Delzio. Progressive American cooking with French and Italian influences.'>");
			document.write("<meta name='DESCRIPTION' content='Josie : Fine Dining Establishment (Santa Monica) by Chef Josie Le Balch and Frank Delzio. Progressive American cooking with French and Italian influences.'>");
			document.write("<meta name='keywords' content='Josie : Fine Dining Establishment (Santa Monica) by Chef Josie Le Balch and Frank Delzio. Progressive American cooking with French and Italian influences.'>");
			document.write("</head>");
			document.write("<SCRIPT LANGUAGE=JAVASCRIPT > ");
			document.write("<frameset framespacing='0' border='0' rows='98%' frameborder='0' cols='250,97%' scrolling='auto'>");
			document.write("<frame name='contents' target='main' src='LeftFrame_Josie.htm' scrolling='auto'>");
			document.write("<frame name='main' src='" + a + "' target='_self' scrolling='auto'>");
			document.write("<noframes>");
			document.write("<body onMouseOver='window.status='" + "Josie Home Page" + "';return true>");
			document.write("<p>Josie : Fine Dining Establishment (Santa Monica) by Chef Josie Le Balch and Frank Delzio. ");
			document.write("Progressive American cooking with French and Italian influences.</p>");
			document.write("<p>This page uses frames, but your browser doesn't support them. Sorry...</p>")
			document.write("</body>")
			document.write("</noframes></frameset>");
			document.write("// --></SCRIPT></html>");
	}

	function makeWindow(text1, text2) {
		newWindow = window.open('', 'popUp', 'width=400, height=100');
		newWindow.document.write("<HTML><HEAD><TITLE>" + text2 + "</TITLE></HEAD><BODY BGCOLOR=WHITE><i>" + text1  + "</i></BODY></HTML>");
		newWindow.document.close();
		newWindow.focus();
	}

	function getPassword() {
		newWindow = window.open('', 'popUp', 'width=400, height=200');
		newWindow.document.write("<HTML><HEAD><TITLE>Enter Password</TITLE><SCRIPT LANGUAGE=JAVASCRIPT SRC='../Scripts.js'></SCRIPT>")
		newWindow.document.write("</HEAD><BODY BGCOLOR=WHITE><FORM Name='Formname' >Enter Password : ");
		newWindow.document.write("<input type='password' name='password' size='28' style='font-family: Tahoma; font-size: 10pt'>");
		newWindow.document.write("<br><div align='center'><a href='javascript:window.close()'>Close Window</a></div>");
		newWindow.document.write("<br><font face='Arial,Helvetica' size=-1><input type=button value='Submit' onSubmit='TestPassword()'>");
		newWindow.document.write("</FORM></BODY></HTML>");
		newWindow.document.close();
		newWindow.focus();
	}

	function TestPassword() {
//		window.location.href = "http://www.josierestaurant.com/cgi/" + document.Formname.password.value + '.cgi';    
   		alert("name=" + parent.main.document.location.href)
		parent.main.document.location.href="http://www.josierestaurant.com/Messages/RestrictedArea.htm"
//   		parent.location.reload();
//		alert("name=" + window.location);
//		newwindow = window.open('http://www.josierestaurant.com/cgi/' + document.Formname.password.value + '.cgi', 'Josie', 'scrollbars=yes,resizable=yes,width=640,height=480');
//		window.location.href = "http://www.josierestaurant.com/cgi/" + document.Formname.password.value + ".cgi";

	}

	function closeWindow() {
		newWindow.close()
	}

	function openNewWindow(theURL,winName,specs) { 
		newwindow=window.open(theURL,winName,specs);
	}

	function growshrink(){
		if (document.images) {
			thisimage++
			if (thisimage == imageCnt) {
				thisimage = 0
				clearTimeout(timerID)
			}
			else
			{
			document.homepic.width = thisimage * 10
			document.homepic.height = thisimage * 5
			timerID=setTimeout("growshrink()", 1 * 25)
			}
		}
	}

	function rotate(){
		if (document.images) {
			thisimage++
			if (thisimage == imageCnt) {
				thisimage = 0
			}
			document.homepic.alt = pic[thisimage].alt
			document.homepic.src = pic[thisimage].src
			setTimeout("rotate()", 3 * 1000)
		}
	}

	function rotate2(whichway){

		if (document.images) {
			if (whichway == -1){
				currImage--
				if (currImage <= -1){
					currImage = imageCnt
					}
				}
			else
				{
				currImage++
				if (currImage > imageCnt){
					currImage = 0
					}
				}
			document.homepic.alt = pic[currImage].alt
			document.homepic.src = pic[currImage].src
//			document.homepic2.alt = pic[currImage].alt
//			document.homepic2.src = pic[currImage].src
			
		}
	}
	function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  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=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// end hiding script from old browsers -->