<!--



//reloads the window if Nav4 resized



function MM_reloadPage(init) {  

  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

};

MM_reloadPage(true);





// Fullscreen Window



function fullScreen() {

  window.moveTo(0,0);

  window.resizeTo(screen.availWidth,screen.availHeight);

};





// Centers a Pop Up Window



function centre(width,height) {

  if (parseInt(navigator.appVersion) >= 4) {

	  window.moveTo((screen.availWidth/2)-(width/2-5),(screen.availHeight/2)-(height/2-5));

	}

};





// Pop Up Window Function



function popUp(url,width,height) {

  window.open(url,'popup'+Math.floor(Math.random()*100+1),'width=400,height=550,directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolbar=no');

};



function popUp2(url,width,height) {

  window.open(url,'popup'+Math.floor(Math.random()*100+1),'width='+width+',height='+height+',directories=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolbar=no');

};





// image product swapout



function swapoutImages( theThumb, theThumbTextObj ) {

  if( document.detail1 ) {

    var currentImageSrc = document.detail1.src;

    currentImageSrc = currentImageSrc.replace( "_lge", "_thb" );

    theThumb.src = theThumb.src.replace( "_thb", "_lge" );

    

    document.detail1.src = theThumb.src;

    theThumb.src = currentImageSrc;

    

    //Replace Text

    var mainImageText = spnDetail1.innerText;

    var thumbImageText = theThumbTextObj.innerText;

    spnDetail1.innerText = thumbImageText;

    theThumbTextObj.innerText = mainImageText;

  }

};





// Dropdown Menu Jump



function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

};



function MM_jumpMenuGo(selName,targ,restore){ //v3.0

  var selObj = MM_findObj(selName); 

  if (selObj) MM_jumpMenu(targ,selObj,restore);

};



-->


