$(document).ready(function(){
	try {
 		document.execCommand('BackgroundImageCache', false, true);
	} catch(e) {}
	$('.nav01 #nav01 a, .nav02 #nav02 a, .nav03 #nav03 a, .nav04 #nav04 a, .nav05 #nav05 a, .nav06 #nav06 a').addClass('thispage');

	$("#navHolder li:not(#nav06) a").not(".thispage").hover(
      function () {
        $(this).animate({"top": "0"}, 100, "swing");
      }, 
      function () {
        $(this).animate({"top": "8"}, 100, "swing");
      }
    );
	$("#navHolder li#nav06 a").not(".thispage").hover(
      function () {
        $(this).animate({"left": "8"}, 100, "swing");
      }, 
      function () {
        $(this).animate({"left": "0"}, 100, "swing");
      }
    );

	$("a#viewmap").click(function(){
		$(".map-overlay").animate({"top":"60"},1500,"easeOutBounce");
		return false;
	});

});



function popUp(page,PWidth,PHeight,id) {
 	eval("winpop"+id+"=window.open('"+page+"','winpop1','toolbar=0,scrollbars=0,location=0,status=0,menubars=0,resizable=0,width="+PWidth	+",height="+PHeight+"')")
	 }
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;
}

<!--
			var file = 'images/cartoons/cartoon' + rndInteger(4) + '.gif';
			function rndInteger(n) {
			  return Math.floor(Math.random() * n);
			}
		//-->
		

