function lPicOpen(pType,pic)
	{
		if(pType == 'fan')
			{
				w = 750;
				h = 391;
			}
		else if(pType == 'fin')
			{
				w = 140;
				h = 116;
			}
		else
			{
				w = 350;
				h = 350;
			}
		var url = pic;
		window.open(url,"LargePic","width="+w+",height="+h+",location=0,menubar=0,resizable=0,scrollbars=0,status=0,directories=0,toolbar=0");
	}
	
function bSwatchOpen(pic)
	{
		var url = "http://hfadmin.smithmicro.net/media/bladesLarge/"+pic+".jpg";
		window.open(url,"BladeSwatches","width=300,height=300,location=0,menubar=0,resizable=0,scrollbars=0,status=0,directories=0,toolbar=0");
	}
	
	function rOver(NewImage, NewSrc){
  var objStr,obj;
  /*
    Changes the source of an image.
    Usage: rOver(originalImage, 'newSourceUrl');
  */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(NewImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + NewImage;
      obj = eval(objStr);
      obj.src = NewSrc;
    } else if ((typeof(NewImage) == 'object') && NewImage && NewImage.src) {
      NewImage.src = NewSrc;
    }
  }
}

function langGo()
	{
		var curPage = escape(location.href);
		//alert(curPage);
		var efin = document.changeLang.fin.value;
		var esiz = document.changeLang.siz.value;
		var ecat = document.changeLang.cat.value;
		var emod = document.changeLang.mod.value;
		var emodn = document.changeLang.modn.value;
		var lang = document.changeLang.newLang;
		var langV = lang.options[lang.selectedIndex].value;
		//alert(langV);
		var root = "http://www.hunterfaninternational.com/";
		var gotoAd = root + "changeLang.php?newLang=" + langV + "&fin=" + efin + "&siz=" + esiz + "&cat=" + ecat + "&mod=" + emod + "&modn=" +emodn+ "&pg=" + curPage;
		//alert(gotoAd);
		window.location=gotoAd;
	}
	
function listOpen()
	{
		window.open("http://www.hunterfaninternational.com/showList.php","ShowList","width=790,location=0,menubar=1,resizable=1,scrollbars=1,status=0,directories=0,toolbar=1");

	}