function doClock(){ 
  var t=new Date(),a=doClock.arguments,str="",i,a1,lang="1";
  var month=new Array('January','Jan', 'February','Feb', 'March','Mar', 'April','Apr', 'May','May', 'June','Jun', 'July','Jul', 'August','Aug', 'September','Sep', 'October','Oct', 'November','Nov', 'December','Dec');
  var tday= new Array('Sunday','Sun','Monday','Mon', 'Tuesday','Tue', 'Wednesday','Wed','Thursday','Thr','Friday','Fri','Saturday','Sat');
  for(i=0;i<a.length;i++) {a1=a[i].charAt(1);switch (a[i].charAt(0)) {
  case "M":if  ((Number(a1)==3) && ((t.getMonth()+1)>10)) str+="0";
  str+=(Number(a1)>1)?t.getMonth()+1:month[t.getMonth()*2+Number(a1)];break;
  case "D": if ((Number(a1)==1) && (t.getDate()<10)) str+="0";str+=t.getDate();break;
  case "Y": str+=(a1=='0')?t.getFullYear():t.getFullYear().toString().substring(2);break;
  case "W":str+=tday[t.getDay()*2+Number(a1)];break; default: str+=unescape(a[i]);}}return str;
}

function MM_findObj(n, d) { //v4.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=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function AddToFaves_hp(){
	var is_4up = parseInt(navigator.appVersion);
	var is_mac   = navigator.userAgent.toLowerCase().indexOf("mac")!=-1;
	var is_ie   = navigator.userAgent.toLowerCase().indexOf("msie")!=-1;
	var thePage = location.href;
	if (thePage.lastIndexOf('#')!=-1)
		thePage = thePage.substring(0,thePage.lastIndexOf('#'));
	if (is_ie && is_4up && !is_mac) 
		window.external.AddFavorite(thePage,document.title);
	else if (is_ie || document.images)
		booker_hp = window.open(thePage,'booker_','menubar,width=325,height=100,left=140,top=60');
	//booker_hp.focus();
	}
	if (window.name=='booker_'){
	var pre_fix = document.images? '<BR>':'';
	document.write(pre_fix + '<P align="center">'
	+ 'Use the menu or ctrl/cmd-D now <BR>to bookmark the page then <BR>'
	+ '<A href="javascript:window.close();">close this window</A></p>'
	+ '<P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>');
	}
function fwLoadMenus() {
  if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",165,17,"Verdana, Arial, Helvetica, sans-serif",10,"#050684","#FFFF00","#E0E0F0","#050684");
  fw_menu_0.addMenuItem("Allied&nbsp;Health&nbsp;and&nbsp;Nursing","location='http://www.nova.edu/cah'");
  fw_menu_0.addMenuItem("Dental&nbsp;Medicine","location='http://dental.nova.edu'");
  fw_menu_0.addMenuItem("Medical&nbsp;Sciences","location='http://medsciences.nova.edu'");
  fw_menu_0.addMenuItem("Optometry","location='http://optometry.nova.edu'");
  fw_menu_0.addMenuItem("Osteopathic&nbsp;Medicine","location='http://medicine.nova.edu/'");
  fw_menu_0.addMenuItem("Pharmacy","location='http://pharmacy.nova.edu/'");
  fw_menu_0.fontWeight="bold";
  fw_menu_0.hideOnMouseOut=true;

   if (window.fw_menu_1) return;
  window.fw_menu_1 = new Menu("root",220,17,"Verdana, Arial, Helvetica, sans-serif",10,"#050684","#FFFF00","#E0E0F0","#050684");
  fw_menu_1.addMenuItem("Alvin&nbsp;Sherman&nbsp;Library","location='http://www.nova.edu/library/main/'"); 
  fw_menu_1.addMenuItem("Electronic&nbsp;Resources","location='http://www.nova.edu/library/eleclib/'");
  fw_menu_1.addMenuItem("Health&nbsp;Professions&nbsp;Division&nbsp;Library","location='http://www.nova.edu/hpdlibrary'");
  fw_menu_1.addMenuItem("Law&nbsp;Library&nbsp;&&nbsp;Technology&nbsp;Center","location='http://www.nsulaw.nova.edu/library/index.cfm'");
  fw_menu_1.addMenuItem("Oceanographic&nbsp;Center&nbsp;Library","location='http://www.nova.edu/cwis/oceanography/library.html'");
  fw_menu_1.addMenuItem("University&nbsp;Archives","location='http://www.nova.edu/archives/'");
  fw_menu_1.fontWeight="bold";
  fw_menu_1.hideOnMouseOut=true;

  fw_menu_0.writeMenus();
  fw_menu_1.writeMenus();
} // fwLoadMenus()	