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_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_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
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_nbGroup(event, grpName) { //v3.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    if ((nbArr = document[grpName]) != null)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = args[i+1];
      nbArr[nbArr.length] = img;
  } }
}

function fwLoadMenus() {
if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",140,14,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffff00","#ffffff","#4c5591");
  fw_menu_0.addMenuItem("About Us","location='aboutus_aboutus.htm'");
  fw_menu_0.addMenuItem("Our Mission","location='aboutus_mission.htm'");
  fw_menu_0.addMenuItem("History","location='aboutus_history.htm'");
  fw_menu_0.addMenuItem("Our Goals","location='aboutus_goals.htm'");
  fw_menu_0.addMenuItem("President's Message","location='aboutus_message.htm'");
  fw_menu_0.addMenuItem("Annual Report","location='aboutus_report.htm'");
  fw_menu_0.addMenuItem("The Reality of the DR","location='reality.htm'");
   fw_menu_0.bgImageUp="images/fwmenu2_140x19_up.gif";
   fw_menu_0.bgImageOver="images/fwmenu1_140x19_over.gif";
   fw_menu_0.fontWeight="bold";
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",140,14,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffff00","#ffffff","#4c5591");
  fw_menu_1.addMenuItem("Dental Care","location='dental.htm'");
  fw_menu_1.addMenuItem("Health Education","location='Programs_education.htm'");
  fw_menu_1.addMenuItem("Computer Training","location='programs_computer.htm'");
  fw_menu_1.addMenuItem("Community Development","location='programs_community.htm'");
  fw_menu_1.addMenuItem("&quot;Not Just Tourist&quot;","location='not_just.htm'");
  fw_menu_1.bgImageUp="images/fwmenu2_140x19_up.gif";
   fw_menu_1.bgImageOver="images/fwmenu1_140x19_over.gif";
   fw_menu_1.fontWeight="bold";
   fw_menu_1.hideOnMouseOut=true;
  window.fw_menu_2 = new Menu("root",140,14,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffff00","#ffffff","#4c5591");
  fw_menu_2.addMenuItem("Volunteer Opportunities","location='volunteer_opportun.htm'");
  fw_menu_2.addMenuItem("Start Dates &amp; Fees","location='volunteer_start.htm'");
  fw_menu_2.addMenuItem("Registration Form","location='volunteer_registration.htm'");
  fw_menu_2.addMenuItem("The Country","location='volunteer_TheCountry.htm'");
  fw_menu_2.addMenuItem("FAQ","location='volunteer_FAQ.htm'");
  fw_menu_2.addMenuItem("Testimonials","location='testimonials.htm'");
   fw_menu_2.bgImageUp="images/fwmenu2_140x19_up.gif";
   fw_menu_2.bgImageOver="images/fwmenu1_140x19_over.gif";
   fw_menu_2.fontWeight="bold";
   fw_menu_2.hideOnMouseOut=true;

  fw_menu_2.writeMenus();
} // fwLoadMenus()


//-->


function load_banner()
{
document.write('  <table width="700" border="0" cellspacing="0" cellpadding="0" background="images/base.jpg">');
document.write('    <tr>');
document.write('      <td><img src="images/spacer.gif" width=594  height=1 border=0 ></td>');
document.write('  	<td><img src="images/spacer.gif" width=106 height=1></td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('      <td valign="bottom"><a href=index.html><img src="images/logo2005An90.gif" width=90 border=0 valign="bottom"></a></td>');
document.write('     <td><img src="images/spacer.gif" width=106  height=20 border=0 >');
document.write('  		<table cellspacing=0 cellpadding=0 border=0 align="right" valign=top>');
document.write('  	<tr>');
document.write('    <td valign=0 align="right"><a href="member.htm" onMouseOut="MM_nbGroup(\'out\')" onMouseOver="MM_nbGroup(\'over\',\'member\',\'images/btnMember1.gif\',\'\',1)" onClick="MM_nbGroup(\'down\',\'group1\',\'member\',\'images/btnMember1.gif\',1)"><img name="member" border="0" src="images/btnMember.gif" width="106" height="19"></a></td> ');
document.write('  	</tr>');
document.write('  	<tr>');
document.write('  	<td valign=0 align="right"><a href="donations.htm" onMouseOut="MM_nbGroup(\'out\')" onMouseOver="MM_nbGroup(\'over\',\'donat\',\'images/btnDonat1.gif\',\'\',1)" onClick="MM_nbGroup(\'down\',\'group1\',\'donat\',\'images/btnDonat1.gif\',1)" ><img name="donat" src="images/btnDonat.gif" width="106" height="19" border=0 onLoad=""></a></td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('  	<td valign=0 align="right"><a href="aboutus_contactus.htm" onClick="MM_nbGroup(\'down\',\'group1\',\'cont\',\'images/btnContact1.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'cont\',\'images/btnContact1.gif\',\'\',1)" onMouseOut="MM_nbGroup(\'out\')"><img name="cont" src="images/btnContact.gif" width="106" height="19" border=0 onLoad=""></a></td>');
document.write('      </tr>');
document.write('  	</table>');
document.write('  	</td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('      <td colspan=2 align="left">');
document.write('  		<table border="0" cellpadding="0" cellspacing="0" width="530" align="left">');
document.write('  		 <tr>');
document.write('  	    	<td colspan=9><img src="images/spacer.gif" width=530 height=2 border=0></td>');
document.write('  		</tr>');
document.write('  		<tr>');
document.write('  <td><img src="images/spacer.gif" width=5 height=17 border=0></td>');
document.write('  <td><a href="index.html" onClick="MM_nbGroup(\'down\',\'group1\',\'home\',\'images/btnHome1.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'home\',\'images/btnHome1.gif\',\'\',1)" onMouseOut="MM_nbGroup(\'out\')"><img name="home" src="images/btnHome.gif" border="0" onLoad="" width="55" height="14"></a></td>');
document.write('  <td><a href="aboutus_aboutus.htm" onMouseOut="MM_nbGroup(\'out\');FW_startTimeout();"  onMouseOver="window.FW_showMenu(window.fw_menu_0,65,115);MM_nbGroup(\'over\',\'about\',\'images/btnAbout1.gif\',\'\',1);"  onClick="MM_nbGroup(\'down\',\'group1\',\'about\',\'images/btnAbout1.gif\',1);"><img name="about" src="images/btnAbout.gif" onLoad="" width="59" height="14" border="0"></a></td>');
document.write('  <td><a href="Programs_programs.htm" onMouseOut="MM_nbGroup(\'out\');FW_startTimeout();"  onMouseOver="window.FW_showMenu(window.fw_menu_1,125,115);MM_nbGroup(\'over\',\'program\',\'images/btnProgr1.gif\',\'\',1);"  onClick="MM_nbGroup(\'down\',\'group1\',\'program\',\'images/btnProgr1.gif\',1);"><img name="program" src="images/btnProgr.gif" onLoad="" width="63" height="14" border="0"></a></td>');
							
document.write('   <td><a href="volunteer_opportun.htm" onMouseOut="MM_nbGroup(\'out\');FW_startTimeout();"  onMouseOver="window.FW_showMenu(window.fw_menu_2,185,115);MM_nbGroup(\'over\',\'volunteer\',\'images/btnVolunt1.gif\',\'\',1);"  onClick="MM_nbGroup(\'down\',\'group1\',\'volunteer\',\'volunteer\',\'images/btnVolunt1.gif\',\'1\',1)"><img name="volunteer" src="images/btnVolunt.gif" border="0" onLoad="" width="70" height="14"></a></td>');
document.write('  <td><a href="Newsletter.htm" onClick="MM_nbGroup(\'down\',\'group1\',\'newsletter\',\'images/btnNews1.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'newsletter\',\'images/btnNews1.gif\',\'\',1)" onMouseOut="MM_nbGroup(\'out\')"><img name="newsletter" src="images/btnNews.gif" border="0" onLoad="" width="70" height="14"></a></td>');
document.write('  <td><a href="Events.htm" onClick="MM_nbGroup(\'down\',\'group1\',\'events\',\'images/btnEvents1.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'events\',\'images/btnEvents1.gif\',\'\',1)" onMouseOut="MM_nbGroup(\'out\')"><img name="events" src="images/btnEvents.gif" border="0" onLoad="" width="59" height="14"></a></td>');
document.write('  <td><a href="supportersN.htm" onClick="MM_nbGroup(\'down\',\'group1\',\'support\',\'images/btnSupport1.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'support\',\'images/btnSupport1.gif\',\'\',1)" onMouseOut="MM_nbGroup(\'out\')"><img name="support" src="images/btnSupport.gif" border="0" onLoad="" width="70" height="14"></a></td>');
document.write('  <td><a href="Map.htm" onClick="MM_nbGroup(\'down\',\'group1\',\'map\',\'images/btnMap1.gif\',1)" onMouseOver="MM_nbGroup(\'over\',\'map\',\'images/btnMap1.gif\',\'\',1)" onMouseOut="MM_nbGroup(\'out\')"><img name="map" src="images/btnMap.gif" border="0" onLoad="" width="70" height="14"></a></td>');
document.write('  	  </tr>');
document.write('  	</table>');
document.write('   </td>');
document.write('  </tr>');
document.write('  </table>');

}


function load_footer()
{
document.write('<table width="700" cellpadding="0" cellspacing="0" border="0" background="images/footer/sf_line.gif">');
document.write('<tr>');
document.write('	<td align="left" valign="top"> <img src="images/SF_logo.gif" width=86 height=81 border="0" align="left" vspace="0"></td>');
document.write('	<td valign="top"><img src="images/spacer.gif" border=0 width=30 height=50 ><br>');
document.write('	<img src="images/footer/bg_grey1_1.gif" border=0 width=1 height=80 valign="top" align=left>');
document.write('	<font face="Arial, Helvetica, sans-serif" size="-2"><a href="mailto: evggor@yahoo.ca"><img src="images/logo_my2.gif" border=0 width="53" height="30" valign="top" vspace=5><br>');
document.write('     by &#139;1478864 Ontario Inc.&#155;</a></font></p>');
document.write('    </td>');
document.write('    <td valign="top"><img src="images/spacer.gif" border=0 width=100 height=47><img src="images/spacer.gif" border=0 width=100 height=47><img src="images/footer/contact.gif"><br>');
document.write('    <img src="images/footer/bg_grey1_1.gif" border=0 width=1 height=80 align=left>');
document.write('    <p><font face="Arial, Helvetica, sans-serif" size="-2" color="#000099">2727  Steeles  Ave.West,  Suite  301,<br> ');
document.write('    Toronto,  ON,  M3J 3G9,   Canada<br><b>Tel:</b>  (416) 663-0445<br><b>Fax:</b>  (416) 663-1973   <br>');
document.write('	<b>e-mail:</b>');
document.write('	<a href="mailto:info@smilesfoundation.org"> info@smilesfoundation.org </a></font></p></td>');
document.write('	<td width="2" background="images/background/1_1blue3_3.gif"><img src="images/spacer.gif" width=2></td>');
document.write('	</tr>');
document.write('	<tr>');
document.write('	<td colspan="4" height="2" background="images/background/1_1blue3_3.gif"><img src="images/spacer.gif" height=2 width=30></td>');
document.write('	</tr>'); 
document.write('</table>');	
}