<!--
j=document.images;

if (j) {
	mouldings=new Image(); mouldings.src="/images/home-supercatM-off.gif";
	mouldingsh=new Image(); mouldingsh.src="/images/home-supercatM-on.gif";
	hc=new Image(); hc.src="/images/home-supercatHC-off.gif";
	hch=new Image(); hch.src="/images/home-supercatHC-on.gif";
	cf=new Image(); cf.src="/images/home-supercatKB-off.gif";
	cfh=new Image(); cfh.src="/images/home-supercatKB-on.gif";
}

function img_act(p) {if (j) {on =  eval (p + "h.src"); document[p].src = on;}}
function img_inact(p) {if (j) {off =  eval (p + ".src"); document[p].src = off;}}

//-->


/* start window popup 2 defining w/h within js for photo gallery pg */

function NewWindowDG(mypage,myname)
{
	var w = 620;
	var h = 730;
	var scroll = "no";
	var pos = "center";

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
	}
	if(pos=="center") {
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;
	}
	else if((pos!="center" && pos!="random") || pos==null) { 
		LeftPosition=0;
		TopPosition=20;
	}
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=yes,toolbar=no,resizable=no';
	win=window.open(mypage,myname,settings);
}

/* end window popup 2 defining w/h within js */


function newWindow(url) {
	NewWindow(url, "popup", 800, 600, "yes", "center");
}

/* start window popup 1 defining w/h within html */

/****************************************************
Author: Eric King
Url: http://redrival.com/eak/index.shtml
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}

/* To Use this:
LINK:
<a href="page.htm" onclick="NewWindow(this.href,'main','800','450','no','center');return false" onfocus="this.blur()">LINK</a>
*/

/* end window popup 1 defining w/h within html */
