
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  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);


var OpenWin;
function displayDetail( WIN, W, H ) {

   if (OpenWin != null) {
        OpenWin.close();
   }
   OpenWin=window.open(WIN,"display_detail","toolbar=0,scrollbars=0,location=0,status=0,menubars=0,resizable=0,width=" + W + " ,height=" + H) ;
   OpenWin.focus();

   if (!OpenWin.opener)
      OpenWin.opener = self;

}

function checkship(s)
{

                var msg = "Error\n";
                var error_msg = "";


                if (document.viewForm.WV_ShipVia.value == 0) {
                        error_msg += "\nYou Must Choose a Shipping Method.";
                }

        if (error_msg)
                {
                        alert(msg+error_msg);
                        return false;
                }
       
}

