	// Sitewide objects
	b_addCart1 = new Image();
	b_addCart1.src = '/img/b_addCart0.gif';
    b_addCart11 = new Image();
	b_addCart11.src = '/img/b_addCart1.gif';
	b_addCart2 = new Image();
	b_addCart2.src = '/img/b_addCart0.gif';
    b_addCart21 = new Image();
	b_addCart21.src = '/img/b_addCart1.gif';
	b_addCart3 = new Image();
	b_addCart3.src = '/img/b_addCart0.gif';
    b_addCart31 = new Image();
	b_addCart31.src = '/img/b_addCart1.gif';
	b_addCart4 = new Image();
	b_addCart4.src = '/img/b_addCart0.gif';
    b_addCart41 = new Image();
	b_addCart41.src = '/img/b_addCart1.gif';
	b_addCart5 = new Image();
	b_addCart5.src = '/img/b_addCart0.gif';
    b_addCart51 = new Image();
	b_addCart51.src = '/img/b_addCart1.gif';
	b_addCart6 = new Image();
	b_addCart6.src = '/img/b_addCart0.gif';
    b_addCart61 = new Image();
	b_addCart61.src = '/img/b_addCart1.gif';
	b_addCart7 = new Image();
	b_addCart7.src = '/img/b_addCart0.gif';
    b_addCart71 = new Image();
	b_addCart71.src = '/img/b_addCart1.gif';
	b_addCart8 = new Image();
	b_addCart8.src = '/img/b_addCart0.gif';
    b_addCart81 = new Image();
	b_addCart81.src = '/img/b_addCart1.gif';
	b_addCart9 = new Image();
	b_addCart9.src = '/img/b_addCart0.gif';
    b_addCart91 = new Image();
	b_addCart91.src = '/img/b_addCart1.gif';
	b_addCart10 = new Image();
	b_addCart10.src = '/img/b_addCart0.gif';
    b_addCart101 = new Image();
	b_addCart101.src = '/img/b_addCart1.gif';
	b_addCart11b = new Image();
	b_addCart11b.src = '/img/b_addCart0.gif';
    b_addCart11b1 = new Image();
	b_addCart11b1.src = '/img/b_addCart1.gif';
	b_addCart12 = new Image();
	b_addCart12.src = '/img/b_addCart0.gif';
    b_addCart121 = new Image();
	b_addCart121.src = '/img/b_addCart1.gif';
	b_addCart13 = new Image();
	b_addCart13.src = '/img/b_addCart0.gif';
    b_addCart131 = new Image();
	b_addCart131.src = '/img/b_addCart1.gif';
	b_addCart14 = new Image();
	b_addCart14.src = '/img/b_addCart0.gif';
    b_addCart141 = new Image();
	b_addCart141.src = '/img/b_addCart1.gif';
	b_addCart15 = new Image();
	b_addCart15.src = '/img/b_addCart0.gif';
    b_addCart151 = new Image();
	b_addCart151.src = '/img/b_addCart1.gif';
	b_addCart16 = new Image();
	b_addCart16.src = '/img/b_addCart0.gif';
    b_addCart161 = new Image();
	b_addCart161.src = '/img/b_addCart1.gif';
	
	b_addCart17 = new Image();
	b_addCart17.src = '/img/b_addCart0.gif';
    b_addCart171 = new Image();
	b_addCart171.src = '/img/b_addCart1.gif';
	b_addCart18 = new Image();
	b_addCart18.src = '/img/b_addCart0.gif';
    b_addCart181 = new Image();
	b_addCart181.src = '/img/b_addCart1.gif';
	b_addCart19 = new Image();
	b_addCart19.src = '/img/b_addCart0.gif';
    b_addCart191 = new Image();
	b_addCart191.src = '/img/b_addCart1.gif';
	b_addCart20 = new Image();
	b_addCart20.src = '/img/b_addCart0.gif';
    b_addCart201 = new Image();
	b_addCart201.src = '/img/b_addCart1.gif';
	

	home_chumking_s = new Image();
	home_chumking_s.src = '/img/home_chumking_s0.gif';
    home_chumking_s1 = new Image();
	home_chumking_s1.src = '/img/home_chumking_s1.gif';
	
	home_sunglasses_s = new Image();
	home_sunglasses_s.src = '/img/home_sunglasses_s0.gif';
    home_sunglasses_s1 = new Image();
	home_sunglasses_s1.src = '/img/home_sunglasses_s1.gif';
	
	home_readyrig_s = new Image();
	home_readyrig_s.src = '/img/home_readyrig_s0.gif';
    home_readyrig_s1 = new Image();
	home_readyrig_s1.src = '/img/home_readyrig_s1.gif';
	home_sunsafari_s = new Image();
	home_sunsafari_s.src = '/img/home_sunsafari_s0.gif';
    home_sunsafari_s1 = new Image();
	home_sunsafari_s1.src = '/img/home_sunsafari_s1.gif';
	home_sunblock_s = new Image();
	home_sunblock_s.src = '/img/home_sunblock_s0.gif';
    home_sunblock_s1 = new Image();
	home_sunblock_s1.src = '/img/home_sunblock_s1.gif';
	home_fishing_s = new Image();
	home_fishing_s.src = '/img/home_fishing_s0.gif';
    home_fishing_s1 = new Image();
	home_fishing_s1.src = '/img/home_fishing_s1.gif';
	home_planter_s = new Image();
	home_planter_s.src = '/img/home_planter_s0.gif';
    home_planter_s1 = new Image();
	home_planter_s1.src = '/img/home_planter_s1.gif';
	home_reelcovers_s = new Image();
	home_reelcovers_s.src = '/img/home_reelcovers_s0.gif';
    home_reelcovers_s1 = new Image();
	home_reelcovers_s1.src = '/img/home_reelcovers_s1.gif';
	home_backpack_s = new Image();
	home_backpack_s.src = '/img/home_backpack_s0.gif';
    home_backpack_s1 = new Image();
	home_backpack_s1.src = '/img/home_backpack_s1.gif';
	home_lure_bag_s = new Image();
	home_lure_bag_s.src = '/img/home_lure_bag_s0.gif';
    home_lure_bag_s1 = new Image();
	home_lure_bag_s1.src = '/img/home_lure_bag_s1.gif';
	home_giftc_s = new Image();
	home_giftc_s.src = '/img/home_giftc_s0.gif';
    home_giftc_s1 = new Image();
	home_giftc_s1.src = '/img/home_giftc_s1.gif';
	home_vansant_s = new Image();
	home_vansant_s.src = '/img/home_vansant_s0.gif';
    home_vansant_s1 = new Image();
	home_vansant_s1.src = '/img/home_vansant_s1.gif';
	home_lifejackets_s = new Image();
	home_lifejackets_s.src = '/img/home_lifejackets_s0.gif';
    home_lifejackets_s1 = new Image();
	home_lifejackets_s1.src = '/img/home_lifejackets_s1.gif';
	
var detect = navigator.userAgent.toLowerCase();
var opera = (detect.indexOf("opera") != -1);
var xplore = (detect.indexOf("msie") != -1);
var scape = (!opera && detect.indexOf("compatible") == -1);
	
if (document.referrer) {
  //alert(document.referrer);
  var referrerTrim = document.referrer;
  var findFrom = referrerTrim.indexOf("/",7);
  referrerTrim = referrerTrim.substring(7, findFrom);
  //alert(referrerTrim);
  if (referrerTrim == "www.trust1.com"){
    //alert("You came from here.");
  }
}
	
function mover(obj) {
	if (document.images) {
		eval( "document." + obj + ".src = " + obj + "1.src;");
		return 1;
	}
}

function mout(obj) {
	if (document.images) {
		eval( "document." + obj + ".src = " + obj + ".src;");
		return 1;
	}
}

function PopUp(nURL,winName,popW,popH) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var windowprops = "location=no,status=yes,scrollbars=yes,menubar=no,toolbar=no,resizable=no" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}

function PopUpNone(nURL,winName,popW,popH) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var windowprops = "location=no,status=no,scrollbars=no,menubar=no,toolbar=no,resizable=no" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}

function PopUpResize(nURL,winName,popW,popH) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var windowprops = "location=no,status=yes,scrollbars=yes,menubar=no,toolbar=no,resizable=yes" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}

function PopUpFull(nURL,winName,popW,popH) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = ((w-popW)/2)+50, topPos = ((h-popH)/2)+100;
	var windowprops = "location=yes,status=yes,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes,personalbar=yes,directories=yes" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}