
<!--
var bn=navigator.appName;
var vn=navigator.appVersion;
var p1=null;
var p2=null;
var p3=null;
var p4=null;
var p5=null;
var p6=null;
var p7=null;
var p8=null;
var p9=null;
var p10=null;
var p11=null;
var p12=null;
var p13=null;
var p14=null;
var p15=null;
var p16=null;
var p17=null;
var p18=null;
var p19=null;
// Animated menu stuff
function off_img(loc,img) {};
function on_img(loc,img) {};

function gonow(p)
  {
  location=addr[p];
  };

var addr = new Array(18);
addr[1]="about_wci.html";
addr[2]="http://www.worldculinaryinstitute.com/cgi-bin/suite/calendar/calendar.cgi";
addr[3]="../forum/forum.html";
addr[4]="../int-chat/chat.html";
addr[5]="../mentor/mentor.html";
addr[6]="../foundation/foundation.html";
addr[7]="../market/market.html";
addr[8]="../cook_sch/school.html";
addr[9]="../cook_class/class.html";
addr[10]="../distance_L/distance_L.html";
addr[11]="../food_edu/food_edu.html";
addr[12]="../wine/wine.html";
addr[13]="../food_adv/gastro.html";
addr[14]="../video/videos.html";
addr[15]="../search/search.html";
addr[16]="../sign_up/sign_up.html";
addr[17]="mailto:info@worldculinaryInstitute.com";
addr[18]=" ";
addr[19]="../map_site/site_map2.html",
menuimg = new Array(37);
if ((bn!="Microsoft Internet Explorer") || (vn.substring(0,3)!="2.0"))
{
menuimg[1]= new Image (90,14);
menuimg[1].src="nav_but01.gif";
menuimg[19]= new Image (90,14);
menuimg[19].src="nav_but01a.gif";
menuimg[2]= new Image (90,14);
menuimg[2].src="nav_but02.gif";
menuimg[20]= new Image (90,14);
menuimg[20].src="nav_but02a.gif";
menuimg[3]= new Image (90,14);
menuimg[3].src="nav_but03.gif";
menuimg[21]= new Image (90,14);
menuimg[21].src="nav_but03a.gif";
menuimg[4]= new Image (90,26);
menuimg[4].src="nav_but04.gif";
menuimg[22]= new Image (90,26);
menuimg[22].src="nav_but04a.gif";
menuimg[5]= new Image (90,14);
menuimg[5].src="nav_but05.gif";
menuimg[23]= new Image (90,14);
menuimg[23].src="nav_but05a.gif";
menuimg[6]= new Image (90,14);
menuimg[6].src="nav_but06.gif";
menuimg[24]= new Image (90,14);
menuimg[24].src="nav_but06a.gif";
menuimg[7]= new Image (90,14);
menuimg[7].src="nav_but07.gif";
menuimg[25]= new Image (90,14);
menuimg[25].src="nav_but07a.gif";
menuimg[8]= new Image (90,26);
menuimg[8].src="nav_but08.gif";
menuimg[26]= new Image (90,26);
menuimg[26].src="nav_but08a.gif";
menuimg[9]= new Image (90,26);
menuimg[9].src="nav_but09.gif";
menuimg[27]= new Image (90,26);
menuimg[27].src="nav_but09a.gif";
menuimg[10]= new Image (90,28);
menuimg[10].src="nav_but10.gif";
menuimg[28]= new Image (90,28);
menuimg[28].src="nav_but10a.gif";
menuimg[11]= new Image (90,14);
menuimg[11].src="nav_but13.gif";
menuimg[29]= new Image (90,14);
menuimg[29].src="nav_but13a.gif";
menuimg[12]= new Image (90,23);
menuimg[12].src="nav_but11.gif";
menuimg[30]= new Image (90,23);
menuimg[30].src="nav_but11a.gif";
menuimg[13]= new Image (90,26);
menuimg[13].src="nav_but12.gif";
menuimg[31]= new Image (90,26);
menuimg[31].src="nav_but12a.gif";
menuimg[14]= new Image (90,14);
menuimg[14].src="nav_but15.gif";
menuimg[32]= new Image (90,14);
menuimg[32].src="nav_but15a.gif";
menuimg[15]= new Image (70,15);
menuimg[15].src="temple-search1.gif";
menuimg[33]= new Image (70,15);
menuimg[33].src="temple-search1a.gif";
menuimg[16]= new Image (175,15);
menuimg[16].src="temple-addlisting1.gif";
menuimg[34]= new Image (175,15);
menuimg[34].src="temple-addlisting1a.gif";
menuimg[17]= new Image (125,15);
menuimg[17].src="temple-contact1.gif";
menuimg[35]= new Image (125,15);
menuimg[35].src="temple-contact1a.gif";
menuimg[18]= new Image (92,15);
menuimg[18].src="temple-translate1.gif";
menuimg[36]= new Image (92,15);
menuimg[36].src="temple-translate1a.gif";
menuimg[19]= new Image (65,15);
menuimg[19].src="temple-sitemap1.gif";
menuimg[37]= new Image (65,15);
menuimg[37].src="temple-sitemap1a.gif";
}

function on_img(loc,img)
  {
  if ((bn!="Microsoft Internet Explorer") || (vn.substring(0,3)!="2.0"))
    loc.src=menuimg[img].src;
  }

// -->


<!--This Java script controls pop up window-->
<!-- hide from JavaScript-challenged browsers

function openWindow(url) {
  popupWin = window.open(url, 'remote',  'scrollbars,resizable,width=180,height=400,left=50,top=50')
}

// done hiding -->


<!--OnLoad pop up window-->

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

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_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_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];}
}

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_openBrWindow(theURL,winName,features)
{ //v2.0
  window.open(theURL,winName,features);
}

//-->



<!--International time Scrolling bottom of browser-->


<!-- Beginning of JavaScript -



var worldtime = new Array()

worldtime[0]="Azores,-2"

worldtime[1]="Baghdad,3"

worldtime[2]="Beijing,8"

worldtime[3]="Berlin,2"

worldtime[4]="Buenos Aires,-3"

worldtime[5]="Chicago,-6"

worldtime[6]="Denver,-7"

worldtime[7]="Hong Kong,8"

worldtime[8]="Honolulu,-10"

worldtime[9]="Johannesburg,2"

worldtime[10]="Kairo,2"

worldtime[11]="Lima,-5"

worldtime[12]="London,0"

worldtime[13]="Mexico City,-6"

worldtime[14]="Moscow,3"

worldtime[15]="New York,-5"

worldtime[16]="Paris,1"

worldtime[17]="Perth,8"

worldtime[18]="Rio de Janheiro,-3"

worldtime[19]="San Francisco,-8"

worldtime[20]="Sydney,11"

worldtime[21]="Tokyo,9"



// The speed of the ticker (milliseconds)

var speed=100



// The length of the steps

var step=1



// Do not edit the variables below

var hours

var shifthours

var minutes

var seconds

var localhours

var thisplace

var i_substring=0



var content



function extracttime() {

content=" -------------------------------------"

for (i=0;i<=worldtime.length-1;i++) {

	thisplace=worldtime[i].split(",")

	thistime= new Date()

	hours=thistime.getUTCHours()

	hours=eval(hours)

	shifthours=eval(thisplace[1])

	localhours=eval(shifthours+hours)

	if (localhours <0) {localhours=24+localhours}

	if (localhours >=24) {localhours=localhours-24}



	minutes=thistime.getUTCMinutes()

	seconds=thistime.getUTCSeconds()



	if (thisplace[0]=='Delhi') {

		minutes=eval(minutes+30)

		if (minutes>=60) {

			minutes=eval(minutes-60)

			localhours=eval(localhours+1)

		}

	}

	if (eval(minutes) < 10) {minutes="0"+minutes}

	if (eval(seconds) < 10) {seconds="0"+seconds}

	if (eval(localhours) < 10) {localhours="0"+localhours}

	thistime = localhours+":"+minutes

	content+=" ------ "+thisplace[0]+": "+thistime

	}

	content+=" -------------------------------------"

	scrolltime()

}



function scrolltime() {

	if (i_substring<=content.length-1) {

		window.status=content.substring(i_substring,content.length-1)

		i_substring=i_substring+step

		var timer=setTimeout("extracttime()",speed)

	}

	else {

		i_substring=0

		clearTimeout(timer)

		extracttime()

	}

}



// - End of JavaScript - -->

<!--End Int Time-->

var actions = new Array("http://www.worldculinaryinstitute.com/cgi-bin/odp/index.cgi","http://www.worldculinaryinstitute.com/search/dgssearch/search.php","http://www.google.com/custom","http://worldculinaryinstitute.com/search/amazon/search.php","http://myculinaryinstitute.com/lecture/searchresult.php");
function startSearch() {
//  if (!pageloaded) return;
  document.forms["searchform"].elements["searchfor"].value=document.forms["searchform"].elements["search"].value;
  searchfor = document.forms["searchform"].elements["searchfor"].value;
  document.forms["searchform"].elements["title"].value='Search Results for '+searchfor;
  selecteddir = document.forms["searchform"].elements["e"].options[document.forms["searchform"].elements["e"].selectedIndex].value;
  document.forms["searchform"].action = actions[selecteddir];
  if (selecteddir==0) 
    window.navigate(document.forms["searchform"].action+'?search='+searchfor+'&mode=searchbox');
  if (selecteddir==1) 
    window.navigate(document.forms["searchform"].action+'?q='+searchfor+'&r=10');
  if (selecteddir==2) 
    window.navigate(document.forms["searchform"].action+'?hl=en&lr=&ie=ISO-8859-1&output=search&btnG=Google+Search&site='+searchfor+'&q='+searchfor);
  if (selecteddir==3) 
    window.navigate(document.forms["searchform"].action+'?q='+searchfor+'&sa=Search+Amazon');
			if (document.forms["searchform"].elements["e"].value==4) {
				document.forms["searchform"].method='post';
				}

  if (document.forms["searchform"].elements["e"].value==4) document.forms["searchform"].submit();
}

function formAction() {
				
			
//			alert(document.forms["searchform"].elements["e"].value);
			document.forms["searchform"].action = actions[document.forms["searchform"].elements["e"].value];
//			alert(document.forms["searchform"].action)
			
			}

function Preview(url) {
	var link = url.parentElement.children[0];
	var win = document.all['if'+link.sourceIndex];
		if(url.innerText == '[Preview]') {
			if(win) {win.style.display = 'block'; win.location = url.href; } 
			else {  url.insertAdjacentHTML('AfterEnd', '<OBJECT id=if'+link.sourceIndex+' width=100% height=200px classid=clsid:8856F961-340A-11D0-A96B-00C04FD705A2 VIEWASTEXT><PARAM NAME="Location" VALUE=\"'+url.href+'\"></object>'); }

	url.innerText = '[Close]';

	} else {
	if(win) { win.style.display = 'none'; url.innerText = '[Preview]'; win.location = 'about:blank'; }
	}
}
