// inTensa Design Gallery 
// by Paul Davis
// http://www.kaosweaver.com/ 
// Copyright 2002, all rights reserved 
// 
// KW_columns[2]
// KW_full[false]
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;
}
function MM_reloadPage(init) { 
  if (init==true) with (navigator) {if 
((appName=="Netscape")&&(parseInt(appVersion)==4)) { 
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; 
onresize=MM_reloadPage; }} 
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) 
location.reload(); 
} 
MM_reloadPage(true); 
var sAPS=0
function KW_miniSwitch(photo,counter) {
	MM_findObj('mainPhoto').src=photo;
  sAPS=counter;
}
function KW_openWin() {
  z=MM_findObj('mainPhoto').src.replace("_main","");
  var dimImg=new Array(616,472,616,472,616,506);
  var w=parseInt(screen.width/2-dimImg[sAPS]/2),h=parseInt(screen.height/2-dimImg[Number(sAPS)+1]/2);
  var look='width='+dimImg[sAPS]+',height='+dimImg[Number(sAPS)+1]+',screenX='+w+',screenY='+h+',left='+w+',top='+h+''
	popwin=window.open('','',look);
	popwin.document.open();
popwin.document.write("<ht"+""+"ml><he"+""+"ad><ti"+""+"tle>:: Click to Close ::</ti"+""+"tle><META HTTP-EQUIV=\"imagetoolbar\" CONTENT=\"no\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"></he"+""+"ad><st"+""+"yle type=\"text/css\"> <!-- BODY {  margin : 0px; } --> </style><bo"+""+"dy bgcolor=#e2d6c2  marginwidth=\"0\" marginheight=\"0\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"20\"><tr><td ><"+""+"a hr"+""+"ef='javasc"+""+"ript:self.close();'><img src='"+z+"' border=0 alt=\"Click Image to Close\"></"+""+"a></td></tr></table></bo"+""+"dy></ht"+""+"ml>");
	popwin.document.close();
}
// End of inTensa Design Gallery

