//Library of JavaScript functions for EventPTI


/*
function openWin1() {
  popupWin = window.open('welcome.html', 'spb', 'toolbar,menubar,scrollbars,resizable,width=720,height=600')
}

function openWinMenubarOn(filename, name) {
  window.open(filename, name, 'scrollbars,menubar=yes,location=yes,resizable,width=800,height=600')
}

function openWinMenubarOff(filename, name) {
  window.open(filename, name, 'scrollbars,resizable,width=700,height=500')
}

function openWinMenubarOff_1(filename, name, w, h) {
str1='scrollbars,resizable,width=';
str2=',top=10,left=10,height=';  
feat=str1+w+str2+h;
window.open(filename, name, feat)
}

function Unloa() {
  self.close()
    }

*/

function showModiDateEn(){
var G;
NameMonth = new Array(12);
NameDay = new Array(7);

DayEn = new Array("Sunday", 
"Monday", "Tuesday", "Wendersday", "Thursday", "Friday", "Saturday"); 
MonthEn = new Array("January", 
"February", "March", "April", "May", "June", "July", "August", "September", 
"October", "November", "December");

NameMonth=MonthEn;
NameDay=DayEn;
now = new Date(document.lastModified);
G = "Updated on "; 
w=now.getYear();
NavName =navigator.appName
NavVers =navigator.appVersion
if(NavName == "Netscape")
{w+=1900}

G += NameDay[now.getDay()]+ ", " + NameMonth[now.getMonth()] + " "+
+ now.getDate() +", "+ w+".";

document.write(G+"<br>");
} 

/*

function ModifDate(){
MD=document.lastModified;
Ind1=MD.indexOf(' ');
Ind2=MD.lastIndexOf(' ');
ModDate=MD.substring(Ind1,Ind2);
document.write(ModDate+'.');

}


function ShowScreenParam()
{
  BrouseName=navigator.appName
  BrouseVersion=navigator.appVersion
  ScreenWidth=screen.width
  ScreenHeight=screen.height
  ScreenAvailWidth=screen.availWidth
  ScreenAvailHeight=screen.availHeight
  WH=new Array(5)
  if (ScreenWidth>=1280)
   {
     WH[0]=500 //This is swf width
     WH[1]=60 //This is swf height
     WH[2]=540 //This is table width
     WH[3]='11th_1.gif' //This is top image file
     WH[4]='sfinks.jpg' //This is bottom image file
     WH[5]='heading2.gif' //This is bottom image file
     WH[6]='heading3.gif' //This is bottom image file
     WH[7]='large'
    }
  else
   {
    if (ScreenWidth>=1024)
      {
       WH[0]=400
       WH[1]=48
       WH[2]=500
       WH[3]='11th_1a.gif' 
       WH[4]='sfinks1a.jpg' 
       WH[5]='heading2a.gif' 
       WH[6]='heading3a.gif'
       WH[7]='medium' 
      }
    else
      {
        WH[0]=300
        WH[1]=36
        WH[2]=400
        WH[3]='11th_1b.gif' 
        WH[4]='sfinks1b.jpg' 
        WH[5]='heading2b.gif' 
        WH[6]='heading3b.gif'        
        WH[7]='small'
       }
    }
  return WH
*/
