//Copy Rights
function copyRight(startYear) {	
    date = new Date();
    year = date.getYear();
    if ( (year - startYear) > 0){
       document.write(startYear + " - " + year);
    }else{
     document.write(startYear);
    } 
}


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_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];}
}

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_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_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 mmLoadMenus() {
  if (window.mm_menu_0527150554_0) return;
  
   window.mm_menu_0527150554_0 = new Menu("root",120,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0527150554_0.addMenuItem("Upcoming Events", "location='upcoming-events.html'");
  mm_menu_0527150554_0.addMenuItem("Past Events", "location='past-events.html'");
   mm_menu_0527150554_0.hideOnMouseOut=true;
   mm_menu_0527150554_0.bgColor='#555555';
   mm_menu_0527150554_0.menuBorder=1;
    mm_menu_0527150554_0.fontWeight='bold';
   mm_menu_0527150554_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0527150554_0.menuBorderBgColor='#777777';
   
  window.mm_menu_0608180508_0 = new Menu("root",90,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0608180508_0.addMenuItem("Our Mission", "location='our-mission.html'");
  mm_menu_0608180508_0.addMenuItem("Who We Are", "location='who-we-are.html'");
   mm_menu_0608180508_0.hideOnMouseOut=true;
   mm_menu_0608180508_0.bgColor='#555555';
   mm_menu_0608180508_0.fontWeight='bold';
   mm_menu_0608180508_0.menuBorder=1;
   mm_menu_0608180508_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0608180508_0.menuBorderBgColor='#777777';
   
  window.mm_menu_0527150758_0 = new Menu("root",120,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0527150758_0.addMenuItem("Hindu Philosophy", "window.open('http://www.hinduism.co.za','_blank')");
   mm_menu_0527150758_0.addMenuItem("News in India", "location='news.html'");
   // mm_menu_0527150758_0.addMenuItem("Useful Links", "location='web-links.html'");
   mm_menu_0527150758_0.hideOnMouseOut=true;
   mm_menu_0527150758_0.bgColor='#555555';
   mm_menu_0527150758_0.fontWeight='bold';
   mm_menu_0527150758_0.menuBorder=1;
   mm_menu_0527150758_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0527150758_0.menuBorderBgColor='#777777';
   
  window.mm_menu_0527151426_0 = new Menu("root",80,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0527151426_0.addMenuItem("We in USA", "window.open('http://www.garamchai.com','_blank')");
  mm_menu_0527151426_0.addMenuItem("Kids in USA", "window.open('http://www.saralsoft.com/freestf1.htm','_blank')");
   mm_menu_0527151426_0.hideOnMouseOut=true;
   mm_menu_0527151426_0.bgColor='#555555';
   mm_menu_0527151426_0.fontWeight='bold';
   mm_menu_0527151426_0.menuBorder=1;
   mm_menu_0527151426_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0527151426_0.menuBorderBgColor='#777777';
   
  window.mm_menu_0527152358_0 = new Menu("root",155,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0527152358_0.addMenuItem("Sandesh", "location='news-letter.html'");
  mm_menu_0527152358_0.addMenuItem("Message for this Quarter", "location='milan-message.html'");
   mm_menu_0527152358_0.hideOnMouseOut=true;
   mm_menu_0527152358_0.bgColor='#555555';
   mm_menu_0527152358_0.fontWeight='bold';
   mm_menu_0527152358_0.menuBorder=1;
   mm_menu_0527152358_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0527152358_0.menuBorderBgColor='#777777';
   
  window.mm_menu_0604121245_0 = new Menu("root",140,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0604121245_0.addMenuItem("Advertise with Milan", "location='advertise-milan.html'");
   mm_menu_0604121245_0.hideOnMouseOut=true;
   mm_menu_0604121245_0.bgColor='#555555';
   mm_menu_0604121245_0.fontWeight='bold';
   mm_menu_0604121245_0.menuBorder=1;
   mm_menu_0604121245_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0604121245_0.menuBorderBgColor='#777777';

  window.mm_menu_0622172029_0 = new Menu("root",120,20,"Tahoma",11,"#ffffff","#FFFFFF","#529200","#C61818","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0622172029_0.addMenuItem("Upcoming Events", "location='upcoming-events.html'");
   mm_menu_0622172029_0.addMenuItem("Youth Center", "location='gyan-jothi.html'");
   mm_menu_0622172029_0.hideOnMouseOut=true;
   mm_menu_0622172029_0.bgColor='#555555';
   mm_menu_0622172029_0.menuBorder=1;
   mm_menu_0622172029_0.fontWeight='bold';
   mm_menu_0622172029_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0622172029_0.menuBorderBgColor='#777777';

mm_menu_0527150554_0.writeMenus();
} // mmLoadMenus()

var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="AM"
if (hours>=12)
dn="PM"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<small><font font-family: tahoma; font-size: 11px; color:#ffffff; >"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</font></small>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
