<!--
 var winheight=100;
 var winwidth=100;
 var cat=null;

 step=1;

 var nav=navigator.userAgent.toLowerCase();
 var isopera=false;
 if (nav.indexOf('opera')!=-1) isopera=true

function popup(imgname,imgwidth,imgheight,imgtitle) 
{
 if (isopera)
  {
  LeftPosition=(screen.width)?(screen.width-winwidth)/2:100;
  TopPosition=(screen.height)?(screen.height-winheight)/2:100;
  paramstp="height="+winheight+",width="+winwidth+",top="+TopPosition+
  ",left="+LeftPosition+",scrollbars=no,location=no"+
  ",directories=no,status=no,menubar=no,toolbar=no,resizable=no";

  var operastr='<html><title>'+imgtitle+'</title><body><img src="'+imgname+'" border=0></b'+'ody></h'+'tml>';
  cat=window.open("blank4opera.html","cat",paramstp);
  cat.document.write(operastr);

  x=y=step;
  while (x | y)
   {
    cat.resizeBy(x,y);
    LeftPosition=(screen.width-cat.window.innerWidth)/2;
    TopPosition=(screen.height-cat.window.innerHeight)/2;
    if (LeftPosition<0) LeftPosition=0;
    if (TopPosition<0) TopPosition=0;
    cat.moveTo(LeftPosition,TopPosition);
    if (cat.window.innerWidth>=imgwidth) x=0;
    if (cat.window.innerHeight>=imgheight) y=0;
   }
 
  if(cat.focus){cat.focus();} 
  return;
  } 

 if (!document.layers&&!document.all&&!document.getElementById)
  {
   paramstp="height="+imgheight+",width="+imgwidth+",top=6"+
   ",left=6,scrollbars=no,location=no"+
   ",directories=no,status=no,menubar=no,toolbar=no,resizable=no"
   cat=window.open("","cat",paramstp);
   oldstr='<html><title>'+imgtitle+'</title><body background="'+imgname+'"></b'+'ody></h'+'tml>';
   cat.document.write(oldstr);
   if (cat.focus){cat.focus();}
   return;
  }
 
 if (document.layers)
  {
   LeftPosition=(screen.width)?(screen.width-imgwidth)/2:100;
   TopPosition=(screen.height)?(screen.height-imgheight)/2:100;
   paramstp="height="+imgheight+",width="+imgwidth+",top="+TopPosition+
   ",left="+LeftPosition+",scrollbars=no,location=no"+
   ",directories=no,status=no,menubar=no,toolbar=no,resizable=no"}
 else
  {
  LeftPosition=(screen.width)?(screen.width-winwidth)/2:100;
  TopPosition=(screen.height)?(screen.height-winheight)/2:100;
  paramstp="height="+winheight+",width="+winwidth+",top="+TopPosition+
  ",left="+LeftPosition+",scrollbars=no,location=no"+
  ",directories=no,status=no,menubar=no,toolbar=no,resizable=no"}

 cat=window.open("","cat",paramstp);

 if (document.all)
  {
   string="<html><title>"+imgtitle+"</title><body topmargin=0 leftmargin=0 bgcolor=black>";
   string1="<div id=loadintxt style='position:absolute;width:100%;top:45%;text-align:center;visibility:visible;font-family:Comic Sans MS;font-size:16px;font-weight:bold'>Loading...</div>";
   string2="<div id=errtxt style='position:absolute;width:100%;top:45%;text-align:center;font-family:Comic Sans MS;font-size:16px;color:red;font-weight:bold;visibility:hidden'>ERROR!!! Please try again</div>";
   string3='<s'+'cript>'+'var animColorIndex=0;colorArray=["#FFFFFF","#CCCCCC","#999999","#666666","#333333","#000000","#333333","#666666","#999999","#CCCCCC"];';
   string4='function textLooping(){if(animColorIndex==10)animColorIndex=0;'+
   'loadintxt.style.color=colorArray[animColorIndex];animColorIndex++;}animInterval=setInterval("textLooping()",200);';
   string5="function erroccur(){clearInterval(animInterval);loadintxt.style.visibility='hidden';errtxt.style.visibility='visible';}";
   string6="</s"+"cript>";
   string7='<s'+'cript language="jav'+'ascript1.2">';
   string8='function init(){clearInterval(animInterval);'+
   "loadintxt.style.visibility='hidden';"+
   'fltr.filters.item(0).Apply();fltr.filters.item(0).Play();'+
   'fltr.style.visibility="visible";}'+'</s'+'cript>';
   string9='<img id="fltr" style="filter:BlendTrans(Duration=5);visibility:hidden" src="'+imgname+'" border=0'+
   ' width='+imgwidth+' height='+imgheight+' onload="init()" onerror="erroccur()">'+
   '</b'+'ody></h'+'tml>';
  } 
 
 if (document.layers)
  {
   toppos=imgheight/2-40;
   leftpos=imgwidth/2-40;
   string="<html><title>"+imgtitle+"</title><body bgcolor='#000000'><div id=loadintxt style='position:absolute;top:"+toppos+"px;left:"+leftpos+"px;'></div>"
   string1='<s'+'cript>var animColorIndex=0;colorArray=["#FFFFFF","#CCCCCC","#999999","#666666","#333333","#000000","#333333","#666666","#999999","#CCCCCC"];'
   string2='function textLooping(){if(animColorIndex==10)animColorIndex=0;document.loadintxt.document.open();'
   string3='document.loadintxt.document.write("<center><font size=4 face=Comic Sans MS color="+colorArray[animColorIndex]+"><b>Loading...</b></font></center>");document.loadintxt.document.close();'
   string4='animColorIndex++;};animInterval=setInterval("textLooping()",200);</s'+'cript>'
   string5='<s'+'cript language="jav'+'ascript1.2">'
   string6="function init(){document.catpic.visibility='show';clearInterval(animInterval);document.loadintxt.visibility='hide';};"
   string7="function erroccur(){errstr='ERROR!!! Please try again';alert(errstr);}</s"+"cript>"
   string8="<div id=catpic style='position:absolute;left:0px;top:0px;visibility:hidden'>"
   string9="<img src='"+imgname+"' width="+imgwidth+" height="+imgheight+" border=0 onload='init()' onerror='erroccur()'></div></b"+"ody></h"+"tml>";
  }
 
 if (document.getElementById&&!document.all)
  {
   toppos=imgheight/2-40;
   leftpos=imgwidth/2-40;
   string="<html><title>"+imgtitle+"</title><body bgcolor='#000000'><div id=loadintxt style='position:absolute;top:"+toppos+"px;left:"+leftpos+"px;'></div>"
   string1='<s'+'cript>var animColorIndex=0;colorArray=["#FFFFFF","#CCCCCC","#999999","#666666","#333333","#000000","#333333","#666666","#999999","#CCCCCC"];';
   string2='function textLooping(){if(animColorIndex==10)animColorIndex=0;ls="<font size=4 face=Comic Sans MS color="+colorArray[animColorIndex]+"><b>Loading...</b></font>"';
   string3='document.getElementById("loadintxt").innerHTML=ls;'
   string4='animColorIndex++;};animInterval=setInterval("textLooping()",200);</s'+'cript>'
   string5='<s'+'cript language="jav'+'ascript1.2">'
   string6='function init(){document.getElementById("catpic").style.visibility="visible";clearInterval(animInterval);document.getElementById("loadintxt").style.visibility="hide";}';
   string7="function erroccur(){errstr='ERROR!!! Please try again';alert(errstr);}</s"+"cript>"
   string8="<div id=catpic style='position:absolute;left:0px;top:0px;visibility:hidden'>";
   string9="<img src='"+imgname+"' width="+imgwidth+" height="+imgheight+" border=0 onload='init()' onerror='erroccur()'></div></b"+"ody></h"+"tml>";
  }

 cat.document.writeln(string);
 cat.document.writeln(string1);
 cat.document.writeln(string2);
 cat.document.writeln(string3);
 cat.document.writeln(string4);
 cat.document.writeln(string5);
 cat.document.writeln(string6);
 cat.document.writeln(string7);
 cat.document.writeln(string8);
 cat.document.writeln(string9);

 x=y=step;

 if (document.all)
  {
   while (x | y)
   {
    cat.resizeBy(x,y);
    LeftPosition=(screen.width-cat.document.body.clientWidth)/2;
    TopPosition=(screen.height-cat.document.body.clientHeight)/2;
    if (LeftPosition<0) LeftPosition=0;
    if (TopPosition<0) TopPosition=0;
    cat.moveTo(LeftPosition,TopPosition);
    if (cat.document.body.clientWidth>=imgwidth) x=0;
    if (cat.document.body.clientHeight>=imgheight) y=0;
   }
  }

 else
  if (document.getElementById&&!document.all)
  {
   while (x | y)
   {
    cat.resizeBy(x,y);
    LeftPosition=(screen.width-cat.window.innerWidth)/2;
    TopPosition=(screen.height-cat.window.innerHeight)/2;
    if (LeftPosition<0) LeftPosition=0;
    if (TopPosition<0) TopPosition=0;
    cat.moveTo(LeftPosition,TopPosition);
    if (cat.window.innerWidth>=imgwidth) x=0;
    if (cat.window.innerHeight>=imgheight) y=0;
   }
  }
 
 if(cat.focus){cat.focus();} 
 return;
}

function CloseCatWin()
 {if(cat!=null && cat.open)cat.close()}
 
window.onfocus=CloseCatWin;

//-->


<!--
with (document)
	{
	write("<STYLE TYPE='text/css'>");
	if (navigator.appName == 'Microsoft Internet Explorer')
		{
		write(".HiliteOff {display:none}");
		write(".HiliteOn {display:block}");
		}
	write("H3.mytext {font-family: Verdana, Tahoma, Trebuchet MS, Arial, Sans-serif; color:#F4800B;}");
	write("</STYLE>");
	}
//-->


<!-- // hide from old browsers

// hide text from MSIE browsers

with (document)
{
	write("<STYLE TYPE='text/css'>");
	if (navigator.appName == 'Microsoft Internet Explorer')
		{
		write(".hiddentext {display:none}  .outline {cursor:hand; text-decoration:underline}");
		}
	write("</STYLE>");
}

// show text on click for MSIE browsers

function expandIt(whichEl)
{
	if (navigator.appName == 'Microsoft Internet Explorer')
		{
		whichEl.style.display = (whichEl.style.display == "block" ) ? "none" : "block";
		}
	else return;
}
// end hiding from old browsers -->


<!-- TO DETERMINE BROWSER //-->

browser_name = navigator.appName;
browser_version = parseInt(navigator.appVersion);
if (browser_name == "Netscape" && browser_version >= 3) version = "n3";
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 4.0) version = "n3";
else version = "n2";

<!-- POP UP WINDOWS FOR PHOTO PICS //-->

   var ww = screen.width;
   var w = ww/2;

function pop(url,x,y) {
   var l = w - x/2;
   link = window.open("http://www.website.com/photos/hires/" + url + ".jpg","","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+x+",height="+y+",left="+l+",top=10");
   }

function findObj(n, d) { //v3.0
  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=findObj(n,d.layers[i].document); return x;
}


function showHideLayers() { //v3.0
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}



<!-- MOUSEOVERS //-->

function over(imgName,text) {      
	self.status=text;
	if (version == "n3") {        
	imgOn = eval(imgName + "on.src");        
	document [imgName].src = imgOn;}
	}

function out(imgName) {   
	self.status='';
	if (version == "n3") {   
	imgOff = eval(imgName + "off.src");       
	document [imgName].src = imgOff;}
	}

function on() {      
	self.status='view full size image';
	}

function off() {   
	self.status='';
	}



<!--
     NS4 = (document.layers);
     IE4 = (document.all);
    ver4 = (NS4 || IE4);
	 IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
function popUp(){return};
function popDown(){return};
if (!ver4) event=null;
//-->


<!--
	if (document.images) 
	{  
		<!-- On -->          
	   img01on = new Image();   img01on.src = "images/button1-on.gif";
	   img02on = new Image();   img02on.src = "images/button2-on.gif";
	   img03on = new Image();   img03on.src = "images/button3-on.gif";
	   img04on = new Image();   img04on.src = "images/button4-on.gif";
	   img05on = new Image();   img05on.src = "images/button5-on.gif";

		<!-- Off --> 
	   img01off = new Image();   img01off.src = "images/button1-off.gif";
	   img02off = new Image();   img02off.src = "images/button2-off.gif";
	   img03off = new Image();   img03off.src = "images/button3-off.gif";
	   img04off = new Image();   img04off.src = "images/button4-off.gif";
	   img05off = new Image();   img05off.src = "images/button5-off.gif";
	   		
	}
	
	function imgOn(sImgName)
	{
	   if (document.images) 
	   {
	   document[sImgName].src = eval(sImgName + "on.src");       
	   }
	}
	
	function imgOff(sImgName)
	{
	   if (document.images) 
	   {
	   document[sImgName].src = eval(sImgName + "off.src");        
	   }
	}

//-->



<!--//BEGIN Script

   var ww = screen.width;
   var hh = screen.height;
   var w = ww/2;
   var h = hh/2;

function popwin(url,x,y) {
   var l = w - x/2;
   var t = h - y/2;
   link = window.open(url,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+x+",height="+y+",left="+l+",top="+t+"");
   }

//END Script-->\

