parent.audio.vSoundLoaded="false";
if(navigator.appName=="Netscape"){
NS="true";
IE="false";
}else{
NS="false";
IE="true";
}
if(NS=="true"){
parent.audio.location.replace("nssound.htm");
}else{
parent.audio.location.replace("iesound.htm");
}

if(navigator.appVersion.lastIndexOf('Win')!=-1){
lf="\r\n";
}else{
lf="\n";
}
vPlayed="false"

function ShowMenu() {
vShown=0;
 if (document.getElementById) { 
  vLPos = parseInt(document.getElementById('Menu').style.top);
  if (vLPos < 5) {
   document.getElementById('Menu').style.top = (vLPos + 10) + "px";
   document.getElementById('MenuTable').style.top = (vLPos + 10) + "px";
   timerShowMainID=setTimeout('ShowMenu()',5);
  }else{
   vShown=1;
  } 
 } 
 else if (document.layers) {
  if(document.layers.Menu.top < 5){
   document.layers.Menu.top+=10;
   document.layers.MenuTable.top+=10;
   timerShowMainID=setTimeout('ShowMenu()',5);
  }else{
   vShown=1;
  }
 } 
 else if (document.all) { 
  if(document.all.Menu.style.pixelTop < 5){
   document.all.Menu.style.pixelTop+=10;
   document.all.MenuTable.style.pixelTop+=10;
   timerShowMainID=setTimeout('ShowMenu()',5);
  }else{
   vShown=1;
  }
 }
 if(vShown==1){
  hideLayer('MenuArrow')
  clearTimeout(timerShowMainID);
 }
}

function ShowLogo() {
if(parent.audio.vSoundLoaded!="true"){
 setTimeout('ShowLogo()',100);
}else{
 if(NS=="true"){
  vScreenWidth=window.innerWidth;
  vScreenHeight=window.innerHeight;
 }else{
  vScreenWidth=document.body.clientWidth;
  vScreenHeight=document.body.clientHeight;
 }
 vLogoTop=Math.round(vScreenHeight-400)/2;
 vGlobeTop=-280;
 vNailTop=vScreenHeight+190;
 vLogoLeft=vScreenWidth;
 vGlobeLeft=Math.round((vScreenWidth-340)/2);
 vNailLeft=Math.round((vScreenWidth-450)/2);
 if(vLogoTop<45){
  vLogoTop=45
 }
 if (document.getElementById) {
  document.getElementById('Logo').style.top=vLogoTop+"px";
  document.getElementById('Globe').style.top=vGlobeTop+"px";
  document.getElementById('Nail').style.top=vNailTop+"px";
  document.getElementById('Logo').style.left=vLogoLeft+"px";
 } 
 else if (document.layers) {
  document.layers.Logo.top=vLogoTop
  document.layers.Globe.top=vGlobeTop
  document.layers.Nail.top=vNailTop
  document.layers.Logo.left=vLogoLeft
 } 
 else if (document.all) { 
  document.all.Logo.style.pixelTop=vLogoTop
  document.all.Globe.style.pixelTop=vGlobeTop
  document.all.Nail.style.pixelTop=vNailTop
  document.all.Logo.style.pixelLeft=vLogoLeft
 }
 showLayer('Logo');
 showLayer('Globe');
 showLayer('Nail');
 hideLayer('Loading');
 AnimateLogo();
}
}

function AnimateLogo() {
 if(NS=="true"){
  vScreenWidth=window.innerWidth;
  vScreenHeight=window.innerHeight;
 }else{
  vScreenWidth=document.body.clientWidth;
  vScreenHeight=document.body.clientHeight;
 }
 vLogoTop=Math.round((vScreenHeight-400)/2);
 vLogoLeftMax=Math.round((vScreenWidth-550)/2);
 if(vLogoLeftMax<45){
  vLogoLeftMax=40
 }
 if (document.getElementById) { 
  vLogoLeft=parseInt(document.getElementById('Logo').style.left);
  if(vLogoLeft > vLogoLeftMax){
   document.getElementById('Logo').style.left = (vLogoLeft - 30) + "px";
    timerMoveLogoID=setTimeout('AnimateLogo()',1);
  }else{
   document.getElementById('Nail').style.left = (vLogoLeft + 105) + "px";
   document.getElementById('Globe').style.left = (vLogoLeft + 160) + "px";
   clearTimeout(timerMoveLogoID);
   AnimateGlobeNail()
  }
 } 
 else if (document.layers) {
  if(document.layers.Logo.left > vLogoLeftMax){
    document.layers.Logo.left-=30;
    timerMoveLogoID=setTimeout('AnimateLogo()',1);
  }else{
   document.layers.Nail.left=document.layers.Logo.left+105
   document.layers.Globe.left=document.layers.Logo.left+160
   clearTimeout(timerMoveLogoID);
   AnimateGlobeNail()
  }
 } 
 else if (document.all) { 
  if(document.all.Logo.style.pixelLeft > vLogoLeftMax){
   document.all.Logo.style.pixelLeft-=30;
   timerMoveLogoID=setTimeout('AnimateLogo()',1);
  }else{
   document.all.Nail.style.pixelLeft=document.all.Logo.style.pixelLeft+105
   document.all.Globe.style.pixelLeft=document.all.Logo.style.pixelLeft+160
   clearTimeout(timerMoveLogoID);
   AnimateGlobeNail()
  }
 }
}

function AnimateGlobeNail() {
 if (document.getElementById) {
  vLogoTop = parseInt(document.getElementById('Logo').style.top);
  vLogoLeft = parseInt(document.getElementById('Logo').style.left);
 } 
 else if (document.layers) {
  vLogoTop=document.layers.Logo.top;
  vLogoLeft=document.layers.Logo.left;
 } 
 else if (document.all) { 
  vLogoTop=document.all.Logo.style.pixelTop;
  vLogoLeft=document.all.Logo.style.pixelLeft;
 }
 vGlobeTopMax=vLogoTop + 50
 vNailTopMax=vLogoTop + 100
 if(vLogoTop<45){
  vGlobeTopMax=125
  vNailTopMax=170
 }
 if (vPlayed!="true") {
  playSound();
 }
 if (document.getElementById) {
  vPosGlobe=parseInt(document.getElementById('Globe').style.top);
  vPosNail=parseInt(document.getElementById('Nail').style.top);
  if (vPosGlobe < vGlobeTopMax){
   document.getElementById('Globe').style.top = (vPosGlobe + 30) + "px";
   document.getElementById('Nail').style.top = (vPosNail - 42) + "px";
   timerGlobeNailID=setTimeout('AnimateGlobeNail()',5);
  }else{
   clearTimeout(timerGlobeNailID);
   document.getElementById('Nail').style.top = (parseInt(document.getElementById('Globe').style.top) + 50) + "px";
   showLayer('MenuArrow');
  }
 } 
 else if (document.layers) {
  if(document.layers.Globe.top < vGlobeTopMax){
   document.layers.Globe.top+=30;
   document.layers.Nail.top-=42;
   timerGlobeNailID=setTimeout('AnimateGlobeNail()',5);
  }else{
   clearTimeout(timerGlobeNailID);
   document.layers.Nail.top=document.layers.Globe.top+50;
   showLayer('MenuArrow');
  }
 } 
 else if (document.all) { 
  if(document.all.Globe.style.pixelTop < vGlobeTopMax){
   document.all.Globe.style.pixelTop+=30;
   document.all.Nail.style.pixelTop-=42;
   timerGlobeNailID=setTimeout('AnimateGlobeNail()',5);
  }else{
   clearTimeout(timerGlobeNailID);
   document.all.Nail.style.pixelTop=document.all.Globe.style.pixelTop+50;
   showLayer('MenuArrow');
  }
 }
}

function HideMenu() {
 if (document.getElementById) {
  vLPos = parseInt(document.getElementById('Menu').style.top);
  if (vLPos > -50) {
   document.getElementById('Menu').style.top = (vLPos - 10) + "px";
    document.getElementById('MenuTable').style.top = (vLPos - 10) + "px";
    timerHideMainID=setTimeout('HideMenu()',5);
  }else{
   clearTimeout(timerHideMainID);
  } 
 }
 else if (document.layers) {
  if(document.layers.Menu.top > -50){
   document.layers.Menu.top-=10;
   document.layers.MenuTable.top-=10;
   timerHideMainID=setTimeout('HideMenu()',5);
  }else{
   clearTimeout(timerHideMainID);
  }
 } 
 else if (document.all) { 
  if(document.all.Menu.style.pixelTop > -50){
   document.all.Menu.style.pixelTop-=10;
   document.all.MenuTable.style.pixelTop-=10;
   timerHideMainID=setTimeout('HideMenu()',5);
  }else{
   clearTimeout(timerHideMainID);
  }
 }
}

function writeLayer(vLayer,vHTML){
 if (document.getElementById) {
  document.getElementById(vLayer).innerHTML=vHTML;
 } 
 else if (document.layers) {
  document.layers[vLayer].document.open();
  document.layers[vLayer].document.write(vHTML);
  document.layers[vLayer].document.close();
 } 
 else if (document.all) { 
  document.all[vLayer].innerHTML=vHTML;
 }
}


function sm_ArrowClick() {
 HideMenu();
 setTimeout('showLayer("MenuArrow")',300);
}

function hideLayer(vLayer){
 if (document.getElementById) {
  document.getElementById(vLayer).style.visibility="hidden";
 } 
 else if (document.layers) {
  document.layers[vLayer].visibility="hidden";
 } 
 else if (document.all) { 
  document.all[vLayer].style.visibility="hidden";
 }
}

function showLayer(vLayer){
 if (document.getElementById) {
  document.getElementById(vLayer).style.visibility="visible";
 } 
 else if (document.layers) {
  document.layers[vLayer].visibility="visible";
 } 
 else if (document.all) { 
  document.all[vLayer].style.visibility="visible";
 }
}

function loadOrderSheet() {
HideMenu()
//vHTML = '<table width="100%" border="0" height="100%"><tr><td align="center" valign="middle"><table width="480" border="2" height="233"><tr><td align="center" valign="middle" bgcolor="#FFFF80"><table width="350" border="0" height="138"><tr><td width="120"><b><font face="Arial, Helvetica, sans-serif" size="3" color="#000000"><a href="ordersheet.htm" target="main" class="roll">Faxed Form</a></font></b></td><td> <font face="Arial, Helvetica, sans-serif" size="2">Print this form and fill it out with your details for Faxing to us.</font></td></tr><tr><td width="120"><font face="Arial, Helvetica, sans-serif" size="3"><b><a href="orderemail.htm" target="main" class="roll">Online Form</a></b></font></td><td><font size="2" face="Arial, Helvetica, sans-serif">Fill out this form On-Line and submit it. We will ring you to get your Credit Details.</font></td></tr></table><form><input type="button" name="Close" value="Close" onClick ="clearWriteLayer();"></form><p>&nbsp;</p></td></tr></table><p>&nbsp;</p></td></tr></table>';
//setTimeout('writeLayer("writelayer",vHTML);', 400);
//showLayer("writelayer")
setTimeout('location.replace("orderemail.htm");',400);
}

function clearWriteLayer() {
hideLayer("writelayer")
vHTML = ' ';
writeLayer("writelayer",vHTML);
showLayer('MenuArrow');

}

function loadInstructions() {
HideMenu()
setTimeout('location.replace("instructions.htm");',400);
;
}

function loadContact() {
HideMenu()
setTimeout('location.replace("contact.htm");',400);
}

function loadHome() {
HideMenu()
setTimeout('location.replace("home.htm");',400);
}

function loadHome2() {
HideMenu()
setTimeout('location.replace("home2.htm");',400);
}

function playSound() {
vPlayed="true"
 if(NS=="true"){
   vHTML='<html><head></head><body bgcolor="#000000" text="#000000"><embed src="sounds/stapler.wav" width="128" height="128" autostart="true" loop="1"></embed></body></html>';
 }else{
   vHTML='<html><head></head><body bgcolor="#000000" text="#000000"><bgsound src="sounds/stapler.wav" loop="0"></body></html>';
 }
parent.audio.document.write(vHTML);
}

function doCalc() {

//vFPVal=document.FrontPage_Form1.FP_qty.value;
//if (vFPVal <= 9) {
//  vFPTot = vFPVal*8.85
// }
// if (vFPVal >= 10) {
//   vFPTot = vFPVal*8.50
// }
// if (vFPVal >= 20) {
//   vFPTot = vFPVal*8.25
// }

vSpec1Val=document.FrontPage_Form1.Spec1_qty.value;
 if (vSpec1Val <= 9) {
   vSpec1Tot = vSpec1Val*11.00
 }
 if (vSpec1Val >= 10) {
   vSpec1Tot = vSpec1Val*11.00
 }
 if (vSpec1Val >= 20) {
   vSpec1Tot = vSpec1Val*11.00
}
vSpec2Val=document.FrontPage_Form1.Spec2_qty.value;
 if (vSpec2Val <= 9) {
   vSpec2Tot = vSpec2Val*10.50
 }
 if (vSpec2Val >= 10) {
   vSpec2Tot = vSpec2Val*10.50
 }
 if (vSpec2Val >= 20) {
   vSpec2Tot = vSpec2Val*10.50
}
vSpec3Val=document.FrontPage_Form1.Spec3_qty.value;
 if (vSpec3Val <= 9) {
   vSpec3Tot = vSpec3Val*10.50
 }
 if (vSpec3Val >= 10) {
   vSpec3Tot = vSpec3Val*10.50
 }
 if (vSpec3Val >= 20) {
   vSpec3Tot = vSpec3Val*10.50
}

 vA14Val=document.FrontPage_Form1.A14_qty.value;
 if (vA14Val <= 9) {
   vA14Tot = vA14Val*24.26
 }
 if (vA14Val >= 10) {
   vA14Tot = vA14Val*18.15
 }
 if (vA14Val >= 20) {
   vA14Tot = vA14Val*17.88
 }

 vA38Val=document.FrontPage_Form1.A38_qty.value;
 if (vA38Val <= 9) {
   vA38Tot = vA38Val*25.69
 }
 if (vA38Val >= 10) {
   vA38Tot = vA38Val*19.20
 }
 if (vA38Val >= 20) {
   vA38Tot = vA38Val*18.98
 }

 vA12Val=document.FrontPage_Form1.A12_qty.value;
 if (vA12Val <= 9) {
   vA12Tot = vA12Val*27.56
 }
 if (vA12Val >= 10) {
   vA12Tot = vA12Val*20.63
 }
 if (vA12Val >= 20) {
   vA12Tot = vA12Val*20.35
 }

 vA58Val=document.FrontPage_Form1.A58_qty.value;
 if (vA58Val <= 9) {
   vA58Tot = vA58Val*15.24
 }
 if (vA58Val >= 10) {
   vA58Tot = vA58Val*11.39
 }
 if (vA58Val >= 20) {
   vA58Tot = vA58Val*11.28
 }

 vBV516Val=document.FrontPage_Form1.BV516_qty.value;
 if (vBV516Val <= 9) {
   vBV516Tot = vBV516Val*24.26
 }
 if (vBV516Val >= 10) {
   vBV516Tot = vBV516Val*18.15
 }
 if (vBV516Val >= 20) {
   vBV516Tot = vBV516Val*17.88
 }
 
 vBV38Val=document.FrontPage_Form1.BV38_qty.value;
 if (vBV38Val <= 9) {
   vBV38Tot = vBV38Val*25.69
 }
 if (vBV38Val >= 10) {
   vBV38Tot = vBV38Val*19.20
 }
 if (vBV38Val >= 20) {
   vBV38Tot = vBV38Val*18.98
 }
 
 vBV12Val=document.FrontPage_Form1.BV12_qty.value;
 if (vBV12Val <= 9) {
   vBV12Tot = vBV12Val*27.56
 }
 if (vBV12Val >= 10) {
   vBV12Tot = vBV12Val*20.63
 }
 if (vBV12Val >= 20) {
   vBV12Tot = vBV12Val*20.35
 }
 
  vBV58Val=document.FrontPage_Form1.BV58_qty.value;
 if (vBV58Val <= 9) {
   vBV58Tot = vBV58Val*15.24
 }
 if (vBV58Val >= 10) {
   vBV58Tot = vBV58Val*11.39
 }
 if (vBV58Val >= 20) {
   vBV58Tot = vBV58Val*11.28
 }

 vP14Val=document.FrontPage_Form1.P14_qty.value;
 if (vP14Val <= 9) {
   vP14Tot = vP14Val*24.26
 }
 if (vP14Val >= 10) {
   vP14Tot = vP14Val*18.15
 }
 if (vP14Val >= 20) {
   vP14Tot = vP14Val*17.88
 }

 vP38Val=document.FrontPage_Form1.P38_qty.value;
 if (vP38Val <= 9) {
   vP38Tot = vP38Val*25.69
 }
 if (vP38Val >= 10) {
   vP38Tot = vP38Val*19.20
 }
 if (vP38Val >= 20) {
   vP38Tot = vP38Val*18.98
 }

 vP12Val=document.FrontPage_Form1.P12_qty.value;
 if (vP12Val <= 9) {
   vP12Tot = vP12Val*27.56
 }
 if (vP12Val >= 10) {
   vP12Tot = vP12Val*20.63
 }
 if (vP12Val >= 20) {
   vP12Tot = vP12Val*20.35
 }

 vP58Val=document.FrontPage_Form1.P58_qty.value;
 if (vP58Val <= 9) {
   vP58Tot = vP58Val*15.24
 }
 if (vP58Val >= 10) {
   vP58Tot = vP58Val*11.39
 }
 if (vP58Val >= 20) {
   vP58Tot = vP58Val*11.28
 }
 
 vBFPVal=document.FrontPage_Form1.BFP_qty.value;
 if (vBFPVal <= 9) {
   vBFPTot = vBFPVal*13.75
 }
 if (vBFPVal >= 10) {
   vBFPTot = vBFPVal*12.65
 }
 if (vBFPVal >= 20) {
   vBFPTot = vBFPVal*11.55
 }
 
 vF18Val=document.FrontPage_Form1.F18_qty.value;
 if (vF18Val <= 9) {
   vF18Tot = vF18Val*15.95
 }
 if (vF18Val >= 10) {
   vF18Tot = vF18Val*13.48
 }
 if (vF18Val >= 20) {
   vF18Tot = vF18Val*12.10
 }
 
 vBAVal=document.FrontPage_Form1.BA_qty.value;
 if (vBAVal <= 9) {
   vBATot = vBAVal*14.85
 }
 if (vBAVal >= 10) {
   vBATot = vBAVal*12.93
 }
 if (vBAVal >= 20) {
   vBATot = vBAVal*11.55
 }
 
 vSAVal=document.FrontPage_Form1.SA_qty.value;
 if (vSAVal <= 9) {
   vSATot = vSAVal*14.85
 }
 if (vSAVal >= 10) {
   vSATot = vSAVal*12.93
 }
 if (vSAVal >= 20) {
   vSATot = vSAVal*11.55
 }
 
  vC14SVal=document.FrontPage_Form1.C14S_qty.value;
 if (vC14SVal <= 9) {
   vC14STot = vC14SVal*69.30
 }
 if (vC14SVal >= 10) {
   vC14STot = vC14SVal*65.45
 }
 if (vC14SVal >= 20) {
   vC14STot = vC14SVal*61.60
 }

 vC38SVal=document.FrontPage_Form1.C38S_qty.value;
 if (vC38SVal <= 9) {
   vC38STot = vC38SVal*73.76
 }
 if (vC38SVal >= 10) {
   vC38STot = vC38SVal*69.69
 }
 if (vC38SVal >= 20) {
   vC38STot = vC38SVal*65.56
 }

 vC12SVal=document.FrontPage_Form1.C12S_qty.value;
 if (vC12SVal <= 9) {
   vC12STot = vC12SVal*78.71
 }
 if (vC12SVal >= 10) {
   vC12STot = vC12SVal*74.31
 }
 if (vC12SVal >= 20) {
   vC12STot = vC12SVal*69.96
 }

 vC58SVal=document.FrontPage_Form1.C58S_qty.value;
 if (vC58SVal <= 9) {
   vC58STot = vC58SVal*86.90
 }
 if (vC58SVal >= 10) {
   vC58STot = vC58SVal*82.06
 }
 if (vC58SVal >= 20) {
   vC58STot = vC58SVal*77.22
 }

 vC14HVal=document.FrontPage_Form1.C14H_qty.value;
 if (vC14HVal <= 9) {
   vC14HTot = vC14HVal*69.30
 }
 if (vC14HVal >= 10) {
   vC14HTot = vC14HVal*65.45
 }
 if (vC14HVal >= 20) {
   vC14HTot = vC14HVal*61.60
 }

 vC38HVal=document.FrontPage_Form1.C38H_qty.value;
 if (vC38HVal <= 9) {
   vC38HTot = vC38HVal*73.76
 }
 if (vC38HVal >= 10) {
   vC38HTot = vC38HVal*69.69
 }
 if (vC38HVal >= 20) {
   vC38HTot = vC38HVal*65.56
 }

 vC12HVal=document.FrontPage_Form1.C12H_qty.value;
 if (vC12HVal <= 9) {
   vC12HTot = vC12HVal*78.71
 }
 if (vC12HVal >= 10) {
   vC12HTot = vC12HVal*74.31
 }
 if (vC12HVal >= 20) {
   vC12HTot = vC12HVal*69.96
 }

 vC58HVal=document.FrontPage_Form1.C58H_qty.value;
 if (vC58HVal <= 9) {
   vC58HTot = vC58HVal*86.90
 }
 if (vC58HVal >= 10) {
   vC58HTot = vC58HVal*82.06
 }
 if (vC58HVal >= 20) {
   vC58HTot = vC58HVal*77.22
 }
 
  vCB01Val=document.FrontPage_Form1.CB01_qty.value;
 if (vCB01Val <= 9) {
   vCB01Tot = vCB01Val*12.54
 }
 if (vCB01Val >= 10) {
   vCB01Tot = vCB01Val*12.54
 }
 if (vCB01Val >= 20) {
   vCB01Tot = vCB01Val*12.54
 }
 
  vCB02Val=document.FrontPage_Form1.CB02_qty.value;
 if (vCB02Val <= 9) {
   vCB02Tot = vCB02Val*12.54
 }
 if (vCB02Val >= 10) {
   vCB02Tot = vCB02Val*12.54
 }
 if (vCB02Val >= 20) {
   vCB02Tot = vCB02Val*12.54
 }
 
  vCB03Val=document.FrontPage_Form1.CB03_qty.value;
 if (vCB03Val <= 9) {
   vCB03Tot = vCB03Val*12.54
 }
 if (vCB03Val >= 10) {
   vCB03Tot = vCB03Val*12.54
 }
 if (vCB03Val >= 20) {
   vCB03Tot = vCB03Val*12.54
 }
 
vTot = vSpec1Tot + vSpec2Tot + vSpec3Tot + vA14Tot + vA38Tot + vA12Tot + vA58Tot + vBV516Tot + vBV38Tot + vBV12Tot + vBV58Tot + vP14Tot + vP38Tot + vP12Tot + vP58Tot + vC14STot + vC38STot + vC12STot + vC58STot + vC14HTot + vC38HTot + vC12HTot + vC58HTot + vBFPTot + vF18Tot + vBATot + vSATot + vCB01Tot + vCB02Tot + vCB03Tot
document.FrontPage_Form1.Total_Amt.value = formatNumber(vTot, 2) ;

}


function formatNumber(dbInVal, iNumDecimals) {
 var bNegative = false;
 var iInVal = 0;
 var strInVal
 var strWhole = "", strDec = "";
 var strTemp = "", strOut = "";
 var iLen = 0;
   if (dbInVal < 0) {
     bNegative = true;
     dbInVal *= -1;
   }
   dbInVal = dbInVal * Math.pow(10, iNumDecimals)
   iInVal = parseInt(dbInVal);
   if ((dbInVal - iInVal) >= .5) {
    iInVal++;
   }
   strInVal = iInVal + "";
   strWhole = strInVal.substring(0, (strInVal.length - iNumDecimals));
   strDec = strInVal.substring((strInVal.length - iNumDecimals), strInVal.length);
   while (strDec.length < iNumDecimals) {
     strDec = "0" + strDec;
   }
   iLen = strWhole.length;
   if (iLen >= 3) {
     while (iLen > 0) {
       strTemp = strWhole.substring(iLen - 3, iLen);
       if (strTemp.length == 3) {
         strOut = "," + strTemp + strOut;
         iLen -= 3;
       } else {
         strOut = strTemp + strOut;
         iLen = 0;
       }
     }
     if (strOut.substring(0, 1) == ",") {
       strWhole = strOut.substring(1, strOut.length);
     } else {
       strWhole = strOut;
     }
   }
   if (bNegative) {
     return "-" + strWhole + "." + strDec ;
   } else {
     return strWhole + "." + strDec ;
   }
}

function printPage() {
 doCalc();
 var vPrintOK="OK";

 if (document.FrontPage_Form1.SenderName.value=="") {
   alert ("No entry in required field : Your Name");
   vPrintOK="";
 }
 if (document.FrontPage_Form1.Phone.value=="") {
   alert ("No entry in required field : Phone");
   vPrintOK="";
 }
 if (document.FrontPage_Form1.Email.value=="") {
   alert ("No entry in required field : Email");
   vPrintOK="";
 }
 if (document.FrontPage_Form1.Total_Amt.value==".00") {
   alert ("No quantities of vnails have been specified.");
   vPrintOK="";
 }
 if (vPrintOK=="OK") {
  if (window.print)
   window.print()
  else
   alert ("Please Select Print from the File menu to print this page.");
 }
}
