function copyright() {
  var lastmod = document.lastModified;
  document.write('<center>');
  document.write('<img src="http://www.kims-sushi.com/cgi-sys/Count.cgi?df=tnma.dat|display=Date|timezone=GMT-0500|dformat=MMDDYY|ft=1|md=6|frgb=0;0;0|dd=D|srgb=0;0;0|prgb=0;0;0" alt="[Date]">');
  document.write(' <img src="http://www.kims-sushi.com/cgi-sys/Count.cgi?df=tnma.dat|display=Clock|timezone=GMT-0500|tformat=12|ft=1|md=8|frgb=0;0;0|dd=D|srgb=0;0;0|prgb=0;0;0" alt="[Clock]"> ');
  document.writeln('<br>');
  document.write("<span class=\"style11\">&copy Throggs Neck Merchants Association<br>Website Development: <a href=\"http://www.nouridatasystems.com\" target=\"NDS\">2008 - 2009 Nouri Data Systems</a><br>Last Modified Date: ");
  if (lastmod == 0)
    {
      document.writeln("Unknown");
    }
  else
    {
      document.writeln(lastmod);
    }
  document.write('</span></center><br>');
}


function pagefooter() {
  document.writeln('<br><br><br><br><br><br>');
  document.writeln('<center> <span class="style11">');
  document.writeln('<a target="mapwindow" href="http://maps.google.com/maps?oi=map&q=East+Tremont+Ave,+and+Randall+ave,+Bronx,+NY+10465">');
  document.writeln('Throggs Neck</a> Merchants Association | PO BOX 508, Bronx, NY 10465 | (646) 657-1312 | Email: ');
  document.writeln('<a href="mailto:info@throggsneck.org"> info@throggsneck.org </a>');
  document.writeln(' | <a target="formwindow" href="member_application.pdf"> Join </a><br>');
  document.writeln('<a href="default.html" > Home </a>');
  document.writeln(' | <a href="aboutTNMA.html"> About </a>');
  document.writeln(' | <a href="members.html"> Member Directory </a>');
  document.writeln(' | <a href="events.html"> Events </a>');
  document.writeln(' | <a href="merchantsales.html"> Sales </a>');
  document.writeln(' | <a href="newsletters.html"> Newsletters </a>');
  document.writeln(' | <a href="articles.html"> Articles </a>');
  document.writeln(' | <a href="photos.html"> Photos </a>');
  document.writeln(' | <a href="communityresources.html"> Community Resources </a>');
  document.writeln(' | <a target="weatherwindow" href="http://www.weather.com/weather/local/10465?lswe=10465"> Throggsneck weather report </a></center><br><br>');

}


/***********************************************
* Static Menu script- by JavaScript Kit (www.javascriptkit.com)
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more
***********************************************/
//ids of menus to keep static on page (must be absolutely positioned, with left/top attribute added inline inside tag)
//Separate multiple ids with a comma (ie: ["menu1", "menu2"]
var staticmenuids=["staticmenu"]
var staticmenuoffsetY=[]

function getmenuoffsetY(){
	for (var i=0; i<staticmenuids.length; i++){
	 var currentmenu=document.getElementById(staticmenuids[i])
	 staticmenuoffsetY.push(isNaN(parseInt(currentmenu.style.top))? 0 : parseInt(currentmenu.style.top))
	}
	initstaticmenu()
}

function initstaticmenu(){
	var iebody=(document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
	var topcorner=(window.pageYOffset)? window.pageYOffset : iebody.scrollTop
	var thelowerlimit=document.getElementById(staticmenuids[0]).floor
        var topmargin=(topcorner<thelowerlimit)? thelowerlimit-topcorner : 0
	for (var i=0; i<staticmenuids.length; i++)
		document.getElementById(staticmenuids[i]).style.top=topcorner+topmargin+staticmenuoffsetY[i]+"px"
	setTimeout("initstaticmenu()", 1000)
}



function setwindowsize() {
  window.resizeTo(980,720);
}