///////////////////////////////////////////////////////
// rollover function
// used for images with following naming convention
//  image source name: "aImageName", ImageName is name of the image
//  image name: "imgName", e.g. imgName_on.gif
//  path: default is "images", can be specified in 3rd argument of function 
//  ext:  default is "gif", can be specified a different extention(e.g. jpg) 
//		  in 4th argument of the function
///////////////////////////////////////////////////////

///////////////////////////////////////////////////////
function imgAdj(imgName, state) {
	var path = "images/";	//default
	var ext = "gif";
	if (arguments[2]) path = arguments[2];
	if (arguments[2]) ext  = arguments[2];
		
 	if (document.images) {
		document.images[imgName].src =  path + imgName + "_" + state + "." + ext;
	}
}

function imgAdj2(imgName, state) {
	var path = "../images/";	//default
	var ext = "gif";
	if (arguments[2]) path = arguments[2];
	if (arguments[2]) ext  = arguments[2];
		
 	if (document.images) {
		document.images[imgName].src =  path + imgName + "_" + state + "." + ext;
	}
}
//////////////////////////////////////////////////////
function imgAdj3(imgName, state) {
	var path = "../../images/";	//default
	var ext = "gif";
	if (arguments[2]) path = arguments[2];
	if (arguments[2]) ext  = arguments[2];
		
 	if (document.images) {
		document.images[imgName].src =  path + imgName + "_" + state + "." + ext;
	}
}

//////////////////////////////////////////////////////
function NewWin(url,iwidth,iheight,scroll) { 

            var myWin = window.open(url, "NewWin", "width=579,height=654,scrollbars=no,location=no,toolbar=no,menubar=no,resizable=no");
			myWin.focus();
}

//////////////////////////////////////////////////////
function NewWinSingle(url,iwidth,iheight,scroll) { 

            var myWin = window.open(url, "NewWin", "width=291,height=315,scrollbars=no,location=no,toolbar=no,menubar=no,resizable=no");
			myWin.focus();
}
//////////////////////////////////////////////////////
theAddressSki="pop_ski.html";
function doSki() {
reWin = window.open(theAddressSki,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressHippie="pop_hippie.html";
function doHippie() {
reWin = window.open(theAddressHippie,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressTavel="pop_travel.html";
function doTavel() {
reWin = window.open(theAddressTavel,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressBelt="pop_belt.html";
function doBelt() {
reWin = window.open(theAddressBelt,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressBelt2="pop_belt2.html";
function doBelt2() {
reWin = window.open(theAddressBelt2,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressPuma="pop_puma.html";
function doPuma() {
reWin = window.open(theAddressPuma,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressHat1="pop_hat1.html";
function doHat1() {
reWin = window.open(theAddressHat1,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressHat2="pop_hat2.html";
function doHat2() {
reWin = window.open(theAddressHat2,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressHat3="pop_hat3.html";
function doHat3() {
reWin = window.open(theAddressHat3,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressTank="pop_detailed_tank.html";
function doTank() {
reWin = window.open(theAddressTank,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressSandals="pop_denim_sandals.html";
function doSandals() {
reWin = window.open(theAddressSandals,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressFlip="pop_denim_flip.html";
function doFlip() {
reWin = window.open(theAddressFlip,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressLace="pop_lace_front.html";
function doLace() {
reWin = window.open(theAddressLace,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressVarious="pop_various.html";
function doVarious() {
reWin = window.open(theAddressVarious,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressEmbroidered3="pop_embroidered.html";
function doEmbroidered3() {
reWin = window.open(theAddressEmbroidered3,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressHooded="pop_hooded_sweater.html";
function doHooded() {
reWin = window.open(theAddressHooded,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressJersey="pop_jersery_sweater.html";
function doJersey() {
reWin = window.open(theAddressJersey,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressZeppelin="pop_zeppelin_t.html";
function doZeppelin() {
reWin = window.open(theAddressZeppelin,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressMilitary="pop_womens_military.html";
function doMilitary() {
reWin = window.open(theAddressMilitary,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
theAddressLacoste="pop_lacoste_sleeveless.html";
function doLacoste() {
reWin = window.open(theAddressLacoste,'determined','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=579,height=635,top=20,left=200');
}
