//Art and photography popup script.
//Author: Jeff Ocheltree,  http://www.jeffsdigital.com

function popimage(imagesrc,winwidth,winheight,who,desc){

  winwidthCalc = imagesrc.substr(10,3);
  winheightCalc = imagesrc.substr(13,3);
  var look='width='+winwidth+',height='+winheight+','
  popwin=window.open("","",look)
  popwin.document.open()
  popwin.document.write('<head><title>'+who+'</title><link rel=stylesheet type="text/css" href="../includes/jeffsdigitalstyles.css"></head><body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 bgcolor=#DDDDDD><table align=center cellspacing=0 cellpadding=2 border=0 bgcolor=#DDDDDD><tr><td bgcolor=#DDDDDD><img src="'+imagesrc+'"><br><span class="TextMainBold">'+desc+'</span></td></tr></table>')
  popwin.document.close()
}

//Remote Sites list window launcher.
/*Credit: Website Abstraction (www.wsabstract.com More scripts here)*/
function remote(which){
  if (which == 7){
    var win3=window.open("../splash/index.html","","width=289,height=610");
  }else if (which == 8){
    var win3=window.open("../photography/index.html","","width=416,height=585");
  }else if (which == 9){
    var win3=window.open("../brushes/index.html","","width=417,height=500");
  }else if (which == 1){
    var win3=window.open("../where/index.html","","width=367,height=358");
  }else if (which == 2){
    var win3=window.open("../archive/index.html","","width=366,height=493");
  }else if (which == 3){
    var win3=window.open("../project3by3/3by3.htm","","width=900,height=714");
  }else if (which == 4){
    var win3=window.open("../project3by3/index.htm","","width=622,height=114");
  }else if (which == 5){
    var win3=window.open("../project3by3/oldschool.htm","","width=900,height=714");

  }
  win3.creator=self
}

