window.defaultStatus = "Canton Dog Park";

function ButtonHighlight(ButtonName)
         {document[ButtonName].src="images/"+ButtonName+"-over.gif"}

function ButtonNormal(ButtonName)
         {document[ButtonName].src="images/"+ButtonName+".gif"}

function PopPic(picfile,picwidth,picheight,caption) 
                             { var wtop  = 20;
                               var wleft = (screen.width - 680) / 2;
                              	    var wprops = winprops = 'top='+wtop+',left='+wleft+',resizable'
 				        newwin = window.open('','','width=picwidth,height=picheight,'+wprops);

                                          if (!newwin.opener) newwin.opener = self;
                                   		with (newwin.document) { open();
                                                                   write('<html><title>CantonDog Park</title><body onLoad="setTimeout(window.close, 600000)" bgcolor="#FFFFFF"><table align="center" height=100% width=100% border=0><tr><td align="center"><font face="Times New Roman,Arial">');
                                                                   write('<IMG SRC="images/logo-small.jpg"><BR>');
                                                                   write('<IMG SRC="images/' + picturefile + '_large.jpg"><table><tr>');

                                                                   write('<td><form action="" method="post"><input type="image" src="images/button-close.gif" border="0" onclick=window.close()></form>');

                                                                   write('</tr></table></td></tr></table></body></html>');
                                                                   close();
                                                                  }
                                         }

function ShowLargePic(picturefile, caption) { var wtop  = 10;
                                              var wleft = (screen.width - 680) / 2;
                                  	          var wprops = winprops = 'top='+wtop+',left='+wleft+',resizable'
 				        newwin = window.open('','','width=580,height=540,'+wprops);

                                          if (!newwin.opener) newwin.opener = self;
                                   		with (newwin.document) { open();
                                                                   write('<html><title>Canton Dog Park</title><body onLoad="setTimeout(window.close, 600000)" bgcolor="#FFFFFF"><table align="center" height=100% width=100% border=0><tr><td align="center"><font face="Times New Roman,Arial">');
                                                                   write('<IMG SRC="images/logo-small.jpg"><BR>');
                                                                   write('<IMG SRC="images/' + picturefile + '_large.jpg"><br>' + caption + '<br>');
                                                                   write('<form action="" method="post"><input type="image" src="images/button-close.gif" border="0" onclick=window.close()></form>');
                                                                   write('</tr></table></body></html>');
                                                                   close();
                                                                  }
                                         }


