// scripts written by Steve Wade and copyright (c) 2002
// I have no problem with you using any of the scripts providing you link your site to See Eyre prominently.

//PICTURE WINDOW
//begin
function OpenPic(img,picStr,picX,picY)
{ aPic = new Image();
  aPic.src=(img);
  var picName = "<img src="+aPic.src+">";
  var picDesc = picStr;
  var xpos = (screen.width/2)-(picX/2); 
    if (xpos<0) {xpos=0}
  var ypos = ((screen.height/2)-(picY/2))-75; //lift window up a little from dead centre - if it goes too far next line fixes it
    if (ypos<0) {ypos=0}
  var picH = picY+75; //increase height of window to allow for close text etc
  
  var picString="left="+xpos+",top="+ypos+",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+picX+",height="+picH
  displayWindow=window.open("","",picString);
    with (displayWindow.document)
    { write("<html>");
      write("<head>");
      write("<title>See Eyre Image Viewer (c)2002:Steve Wade</title>");
      write("<style fprolloverstyle>A:hover {color: #FF7B00; font-family: Tahoma; font-size: 10pt; text-decoration: blink; font-weight: bold} </style>");
      write("</head>");
      write("<body topmargin=0 leftmargin=0 link=#ffffff vlink=#ffffff alink=#ffffff bgproperties=fixed background=images/working/leather_small.jpg>");
      write("<center>",picName,"</center>");
      write("<br><center><font face=Tahoma size=2 color=#ffffff>",picDesc,"</center></font><br>");
      write("<center><b><font face=Tahoma size=2 color=#ffffff><a href=javascript:close(self);>Close this Window</a></font></b></center>");
      write("</body>");
      write("</html>");}} 
//end


//ADD BOOKMARK
//begin
var bookmarkurl="http://www.murphys-haystacks.com" 
var bookmarktitle="Murphy's Haystacks - Eyre Peninsula, South Australia" 
function addbookmark(){
if (document.all)window.external.AddFavorite(bookmarkurl,bookmarktitle)}
//end