// JavaScript Document
// Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End


// Script for flashing red arrow links//
<!-- Begin
function imgover(imgname){
imgname.src = "im/general/arrow.gif"
}
function imgout(imgname){
imgname.src = "im/general/blank.gif"
}
// End -->
<!-- Virtualshop Script for shopping basket -->
//<!--
vsval1="";
if (!document.cookie){
document.cookie ="vspref="+document.referrer+"; path=/;";
}//-->

//<!--
thispage="view-basket.html";
vsval2="55296";
vsval3="GBP";
nextpage="view-basket.html";
vscurrency="&#163;";
vscartresponse="has been added to your basket.";
delship="";
deltax="";
vsru=1;
vstons="";
vstons1=0.00;vstons2=0.00;vstons3=0.00;vstons4=0.00;vstons5=0.00;vstons6=0.00;vstons7=0.00;vstons8=0.00;vstons9=0.00;vstons10=0.00;vstons11=0.00;vstons12=0.00;
vsband="To choose your preferred postage: please select:";
vsband1="UK Royal Mail Recorded Delivery";vstaxex1="";
vsband2="UK Royal Mail Special Delivery";vstaxex2="";
vsband3="";vstaxex3="";
vsband4="";vstaxex4="";
vsband5="";vstaxex5="";
vsband6="";vstaxex6="";
vsband7="";vstaxex7="";
vsband8="";vstaxex8="";
vsband9="";vstaxex9="";
vsband10="";vstaxex10="";
vsband11="";vstaxex11="";
vsband12="";vstaxex12="";
vspunit="";
vspunitpl="";
function getWeight(){
vsapu1="0.00";vsapu2="0.00";vsapu3="0.00";vsapu4="0.00";vsapu5="0.00";vsapu6="0.00";vsapu7="0.00";vsapu8="0.00";vsapu9="0.00";vsapu10="0.00";vsapu11="0.00";vsapu12="0.00";
if (allweight<=6.55) {vsapu1="3.00";vsapu2="4.00";vsapu3="5.00";vsapu4="0.00";vsapu5="0.00";vsapu6="0.00";vsapu7="0.00";vsapu8="0.00";vsapu9="0.00";vsapu10="0.00";vsapu11="0.00";vsapu12="0.00";}
if (allweight<=4) {vsapu1="4.00";vsapu2="6.55";vsapu3="3.00";vsapu4="0.00";vsapu5="0.00";vsapu6="0.00";vsapu7="0.00";vsapu8="0.00";vsapu9="0.00";vsapu10="0.00";vsapu11="0.00";vsapu12="0.00";}
}
delship="";
deltax="";
vsshipdescrip="Shipping";
vstaxdescrip="Vat";
//-->

//<!--
//(c)VirtualShop by White-Hot Design.

vsval4="";
var vsshipdescrip;
var vstaxdescrip;
var vsapu;
var vstb;

function vsgetrefer(){
 for (var j = 0; j <= document.cookie.length; j++) {
  if (document.cookie.substring(j,j+7) == 'vspref=') {
  startref=j+7;
   for (var j = startref; j <= document.cookie.length; j++) {
    if (document.cookie.charAt(j) == ';'){
    return(document.cookie.substring(startref,j));
    }
   }
  }
 }
 return '';
}

function priceFormat(value) {
if (parseFloat(value) < 0) {value=value-(value*2);vsminus=1;} else {vsminus=0;}
  roundup=""+value+"";
  if (roundup.substring(9,17)=='99999999'){
  value+=0.0000000000001;
  }
 if (parseInt(value) > 0.99) {
 adjHundred = parseInt(value);
 ften = parseInt((value+.0008 - parseInt(value))* 100);
  if (ften < 10) {
  adjTen = '0' + ften;}
  else{
  adjTen = ften;
  }
 adjResult = adjHundred + '.' + adjTen;
 } else {
 ften = '0' + value;

  if (ften.charAt(4) == "0") {
  adjResult = '0' + ften.charAt(1) + ften.charAt(2) + ften.charAt(3);
  } else {
  adjResult = '0' + ften.charAt(1) + ften.charAt(2) + ften.charAt(3) + ften.charAt(4);
  if (!ften.charAt(4)){adjResult = adjResult+'0';}
  if (adjResult == '000') {adjResult=0;}
  }
 }
 ften='';ftin='';adjTen=0;
 for (var i = 0; i < adjResult.length; i++) {
 if(adjResult.charAt(i) == '.') {adjTen=1;}
 if(adjTen==1) {ften+=adjResult.charAt(i);} else {ftin+=adjResult.charAt(i);}
 }
if (ftin=='00'){ftin='0';}

 adjResult=ftin+ften.charAt(0)+ften.charAt(1)+ften.charAt(2)
 if (adjResult.length == 3){adjResult=adjResult+'0'}
if (vsminus == 1) {adjResult='-'+adjResult;}
if (!adjResult) {adjResult='0.00'};
return (adjResult);
}

function displayCart(vsshowtax,vsccolor1,vsccolor2,vscfont,vscfontsize,vscfontcolor,vscfont1,vscfontsize1,vscfontcolor1,vsitems,vsqty,vseach,vstotal,vsremove,vsordertotal,vsempty,vscborder,vsbold,vsbold1,showrembut) {
vstb1=0;vstb2=0;vstb3=0;vstb4=0;vstb5=0;vstb6=0;vstb7=0;vstb8=0;vstb9=0;vstb10=0;vstb11=0;vstb12=0;
vstrack = document.cookie.indexOf("vsCart");
startcount = (document.cookie.indexOf("=", vstrack) + 1);
finishcount = document.cookie.indexOf(";", vstrack);
if (finishcount == -1) {
 finishcount = document.cookie.length;
 }
alldata = document.cookie.substring(startcount, finishcount);
alltotal = 0;
allweight = 0;
listcount = 0;
vscount = 0;
if (vsshowtax==0) {document.writeln('<TABLE width=100% border='+vscborder+' cellspacing=1 cellpadding=3 '+vsccolor1+' cols=5>');}
 for (var i = 0; i <= alldata.length; i++) {
  if (alldata.substring(i,i+1) == ']') {
  listcount=listcount+1;
  }
 }
 if (listcount > 0){
  if (vsshowtax==0) {
   if (showrembut==2){
   document.writeln('<TR><td nowrap><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+'<img src="im/general/cart7.gif" align=bottom border=0 hspace=5>'+vsitems+'</TD><TD valign="bottom" width=1 colspan=1><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vsqty+'</b></TD><TD valign="bottom" width=1 colspan=1><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vseach+'</TD><td valign="bottom" width=1 colspan=1 align=right><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vstotal+'</TD></TR>');
   }else{
   document.writeln('<TR><td nowrap><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+'<img src="im/general/cart7.gif" align=bottom border=0 hspace=5>'+vsitems+'</TD><TD valign="bottom" width=1 colspan=1><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vsqty+'</b></TD><TD valign="bottom" width=1 colspan=1><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vseach+'</TD><td valign="bottom" width=1 colspan=1 align=right><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vstotal+'</TD><TD valign="bottom" width=1 colspan=1 align=center><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vsremove+'</TD></TR>');
   }
  }
 } else {
 if (vsshowtax==0) {document.writeln('<TR><TD colspan=5><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+'<img src="im/general/cart7.gif" align=middle border=0 hspace=5><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vsempty+'</TD></TR>');}
 }
listcount = 0;
 for (var i = 0; i <= alldata.length; i++) {
  if (alldata.substring(i,i+1) == '[') {
  listbegin = i+1;
  } else if (alldata.substring(i,i+1) == ']') {
  listfinish = i;
  listtotal = 0;
  vscount = 0;
  listtotal = (eval(vsprice*vsamount));
  vsweight = vsweight * vsamount;
  liststore = listtotal * 100;
  alltotal = alltotal + listtotal;
  allweight = allweight + vsweight;
  listcount=listcount+1;

   vscode = '';
   vswpobject = '';
   vshavcode = '';
    for (var j = 0; j <= vsobject.length; j++) {
     if ((vsobject.charAt(j) != ':')){
      if (vshavcode == '1'){
      if (vsobject.charAt(j-1) != ':') {vswpobject = vswpobject+vsobject.charAt(j);}
      }else{
      vscode = vscode+vsobject.charAt(j);
      }
    }else{
    vshavcode = '1';
if (vscode == vsshipdescrip) {delship = listcount;}
if (vscode == vstaxdescrip) {deltax = listcount;}
if (vsshowtax==0) {vsval4 = vsval4+' - '+vsamount+'x'+vscode;}
    }
   }

   if (vsshowtax==0) {
listtotal=priceFormat(listtotal);
if (!vsprice){vsprice=0;listtotal=0;}
   if ((vscode==vsshipdescrip||vscode==vstaxdescrip) && (showrembut==1)){
   vsshowdel='&nbsp;';
   }else{
   vsshowdel='<a href="javascript:clearSlot('+listcount+')"><image src=im/general/delete2.gif border=0></a>';
   }

   if (showrembut==2) {
   remcolumn=''
   }else{
   remcolumn='<td align=center colspan=1><font face="'+vscfont1+'" size='+vscfontsize1+' color='+vscfontcolor1+'>'+vsbold1+vsshowdel+'</td>'
   }

   document.writeln('<tr '+vsccolor2+'><td><font face="'+vscfont1+'" size='+vscfontsize1+' color='+vscfontcolor1+'>'+vsbold1+vsobject+'</td><td colspan=1><font face="'+vscfont1+'" size='+vscfontsize1+' color='+vscfontcolor1+'>'+vsbold1+vsamount+'</td><td colspan=1 nowrap><font face="'+vscfont1+'" size='+vscfontsize1+' color='+vscfontcolor1+'>'+vsbold1+vsprice+'</td><td colspan=1 align=right nowrap><font face="'+vscfont1+'" size='+vscfontsize1+' color='+vscfontcolor1+'>'+vsbold1+listtotal+'</td>'+remcolumn+'</tr>');
   }

  if (vsshowtax==0) {
  document.writeln('<INPUT TYPE="hidden" NAME="MC_Code'+listcount+'" VALUE="'+vscode+'">');
  document.writeln('<INPUT TYPE="hidden" NAME="MC_Description'+listcount+'" VALUE="'+vswpobject+'">');
  document.writeln('<INPUT TYPE="hidden" NAME="MC_Quantity'+listcount+'" VALUE="'+vsamount+'">');
  document.writeln('<INPUT TYPE="hidden" NAME="MC_Total'+listcount+'" VALUE="'+vsprice+'">');
 }
}
else if (alldata.substring(i,i+1) == '#') {
vscount = vscount + 1;
   if (vscount == 1) {vsobject = alldata.substring(listbegin, i);}
   if (vscount == 2) {vsprice = alldata.substring(listbegin, i);}
   if (vscount == 3) {vsweight = alldata.substring(listbegin, i);}
   if (vscount == 4) {vsamount = alldata.substring(listbegin, i);}
   if (vscount == 5) {vstb1 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 6) {vstb2 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 7) {vstb3 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 8) {vstb4 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 9) {vstb5 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 10) {vstb6 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 11) {vstb7 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 12) {vstb8 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 13) {vstb9 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 14) {vstb10 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 15) {vstb11 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   if (vscount == 16) {vstb12 += (parseFloat(alldata.substring(listbegin, i))*vsamount)*vsprice/100;}
   listbegin = i+1;
  }
 }

 if (vsshowtax==0) {
vsnl=new Date();
vsgh=vsnl.getDate()+''+(vsnl.getMonth()+1)+''+vsnl.getYear()+''+vsnl.getHours()+''+vsnl.getMinutes()+''+vsnl.getSeconds();
 document.writeln('<INPUT TYPE="hidden" NAME="instId" VALUE="'+vsval2+'">');
 document.writeln('<INPUT TYPE="hidden" NAME="cost" VALUE="'+alltotal+'">');
 document.writeln('<INPUT TYPE="hidden" NAME="currency" VALUE="'+vsval3+'">');
 document.writeln('<input type="hidden" NAME="desc" value="'+vsval4+'">');
 }
 if (listcount > 0) {

 if (vsshowtax==0) {
 if (showrembut==2){vsmtcol=''}else{vsmtcol='<td>&nbsp;</td>'}
 document.writeln('<tr><td colspan=3 align=right><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'>'+vsbold+vsordertotal+': '+vscurrency+'</b></td><td align=right bgcolor=#eeeeff><font size=2 color=#ff0000><font face="'+vscfont+'" size='+vscfontsize+' color='+vscfontcolor+'></font>'+vsbold+priceFormat(alltotal)+'</b></td><td align=center><b>Free Delivery</b></td>'+vsmtcol+'</tr></table>');
 }
 } else {
if (vsshowtax==0) {document.writeln('<tr><td colspan=5>&nbsp;</td></tr></TABLE>');}
 }
}

function clearSlot(datnumber) {
wantItList = null;
listcount = 0;
 for (var i = 0; i <= alldata.length; i++) {
  if (alldata.substring(i,i+1) == '[') {
  listbegin = i+1;
  } else if (alldata.substring(i,i+1) == ']') {
  listfinish = i;
  listcount=listcount+1;
   if (listcount != datnumber) {
   wantItList = wantItList+'['+alldata.substring(listbegin, listfinish)+']';
   }
  }
 }
document.cookie="vsCart="+wantItList+"; path=/;";
if (thispage){location = thispage;}else{window.location.reload();}
}

function addToCart(wantIt, wantPrice, wantWeight, wantAmount, vstb1, vstb2, vstb3, vstb4, vstb5, vstb6, vstb7, vstb8, vstb9, vstb10, vstb11, vstb12, noreload, remslot, vsnooptxt, vszeroitems) {
if (isNaN(wantAmount)){wantAmount=0};
x = 0; vsicode = '';
 for (var i = 0; i <= wantIt.length; i++) {
 if (wantIt.charAt(i) == ':') {
  x = x + 1;
  } else {
  if (!x) {vsicode = vsicode+wantIt.charAt(i);}
  }
 }

if (x > 1) {
alert(vsnooptxt);
} else {

if (remslot){
 if (((delship) && (vsicode == vsshipdescrip))||((deltax) && (vsicode == vstaxdescrip))){
 wantItList = null;
 listcount = 0;
  for (var i = 0; i <= alldata.length; i++) {
   if (alldata.substring(i,i+1) == '[') {
   listbegin = i+1;
   } else if (alldata.substring(i,i+1) == ']') {
   listfinish = i;
   listcount=listcount+1;
    if ((listcount != delship)&&(listcount != deltax)) {
    wantItList = wantItList+'['+alldata.substring(listbegin, listfinish)+']';
    }
   }
  }
 document.cookie="vsCart="+wantItList+"; path=/;";
 }
}
vsMcode = '';
gd = 0;
pPrice = '';
 for (var i = 0; i <= wantIt.length; i++) {
  if (wantIt.charAt(i) == '[') {
  gd = 1;}
  if (wantIt.charAt(i) == ']') {
  gd = 0;}

if (gd == 0) {
 if (wantIt.charAt(i) != ']'){
 pPrice = pPrice+wantIt.charAt(i);}
} else {
 if (wantIt.charAt(i) != '['){
 vsMcode = vsMcode+wantIt.charAt(i);}
 }
}
wantIt = pPrice;
pPrice = '';
 for (var i = 0; i <= wantIt.length; i++) {
 if (wantIt.charAt(i) != ':') {
  pPrice = pPrice + wantIt.charAt(i);
  }else
  {
  pPrice = pPrice + vsMcode + ':';
  }
 }
wantIt = pPrice;

pPrice = '';
vsmin = '0'
 if (wantPrice.charAt(wantPrice.length-1) == '%'){
  for (var x = 0; x < wantPrice.length-1; x++) {
   if (wantPrice.charAt(x) != '-'){pPrice = pPrice + wantPrice.charAt(x);} else {vsmin = '1';}
   }
 wantPrice = (pPrice * priceFormat(alltotal)) / 100;
 wantPrice = priceFormat(wantPrice);
 if (vsmin == '1') {wantPrice = '-'+wantPrice;}
 }
 pPrice=''
  if ((wantPrice.charAt(wantPrice.length-3) != '.') && (wantPrice.charAt(wantPrice.length-3) != "0")){
  for (var x = 0; x < wantPrice.length-1; x++) {
  pPrice = pPrice + wantPrice.charAt(x);
  }
  wantPrice = pPrice;
 }
 if (wantAmount <= 0) {
 alert(vszeroitems);
 return;
 }

vstrack = document.cookie.indexOf("vsCart");
startcount = (document.cookie.indexOf("=", vstrack) + 1);
finishcount = document.cookie.indexOf(";", vstrack);
 if (finishcount == -1) {
 finishcount = document.cookie.length;
 document.cookie="vsCart="+document.cookie.substring(startcount, finishcount)+"["+wantIt+"#"+wantPrice+"#"+wantWeight+"#"+wantAmount+"#"+vstb1+"#"+vstb2+"#"+vstb3+"#"+vstb4+"#"+vstb5+"#"+vstb6+"#"+vstb7+"#"+vstb8+"#"+vstb9+"#"+vstb10+"#"+vstb11+"#"+vstb12+"#]; path=/;";
 if (!noreload){
  if (nextpage){location = nextpage;}else{alert(wantAmount+' x '+wantIt+' '+vscartresponse);}
 }
 }
}
}
//-->

//<!--
//(c)VirtualShop by White-Hot Design
function doallship(showship,showtax) {
if(listcount>0){
 if(listcount==1){vspunitpl=vspunit;}
 if (showship==1) {
 if (document.vsorder.vscband.selectedIndex==1){vsapu=vsapu1;}
 if (document.vsorder.vscband.selectedIndex==2){vsapu=vsapu2;}
 if (document.vsorder.vscband.selectedIndex==3){vsapu=vsapu3;}
 if (document.vsorder.vscband.selectedIndex==4){vsapu=vsapu4;}
 if (document.vsorder.vscband.selectedIndex==5){vsapu=vsapu5;}
 if (document.vsorder.vscband.selectedIndex==6){vsapu=vsapu6;}
 if (document.vsorder.vscband.selectedIndex==7){vsapu=vsapu7;}
 if (document.vsorder.vscband.selectedIndex==8){vsapu=vsapu8;}
 if (document.vsorder.vscband.selectedIndex==9){vsapu=vsapu9;}
 if (document.vsorder.vscband.selectedIndex==10){vsapu=vsapu10;}
 if (document.vsorder.vscband.selectedIndex==11){vsapu=vsapu11;}
 if (document.vsorder.vscband.selectedIndex==12){vsapu=vsapu12;}
  if (vsru==0){
 if ((!allweight)&&(document.vsorder.vscband.selectedIndex > 0)) {allweight=0;}
//  document.vsorder.vsShipping.value=vsshipdescrip+': '+document.vsorder.vscband.options[document.vsorder.vscband.selectedIndex].text+' '+priceFormat(parseFloat(allweight))+' '+vspunitpl+' at '+vscurrency+vsapu+' per '+vspunit;
  document.vsorder.vsShipping.value=vsshipdescrip+': '+priceFormat(parseFloat(allweight))+' '+vspunitpl+' '+document.vsorder.vscband.options[document.vsorder.vscband.selectedIndex].text;
  document.vsorder.vsallship.value = priceFormat(vsapu*allweight);
  }else{
 if ((!trueweight)&&(document.vsorder.vscband.selectedIndex > 0)) {trueweight=0;}
//  document.vsorder.vsShipping.value=vsshipdescrip+': '+document.vsorder.vscband.options[document.vsorder.vscband.selectedIndex].text+' '+priceFormat(parseFloat(trueweight))+' '+vspunitpl+' at '+vscurrency+vsapu;
    document.vsorder.vsShipping.value=vsshipdescrip+': '+priceFormat(parseFloat(trueweight))+' '+vspunitpl+' '+document.vsorder.vscband.options[document.vsorder.vscband.selectedIndex].text;
  document.vsorder.vsallship.value = vsapu;
  }

  if (vsapu==0){document.vsorder.vsallship.value = 0;}

if (document.vsorder.vscband.selectedIndex==1){vstons=(document.vsorder.vsallship.value*vstons1)/100;}
 if (document.vsorder.vscband.selectedIndex==2){vstons=(document.vsorder.vsallship.value*vstons2)/100;}
 if (document.vsorder.vscband.selectedIndex==3){vstons=(document.vsorder.vsallship.value*vstons3)/100;}
 if (document.vsorder.vscband.selectedIndex==4){vstons=(document.vsorder.vsallship.value*vstons4)/100;}
 if (document.vsorder.vscband.selectedIndex==5){vstons=(document.vsorder.vsallship.value*vstons5)/100;}
 if (document.vsorder.vscband.selectedIndex==6){vstons=(document.vsorder.vsallship.value*vstons6)/100;}
 if (document.vsorder.vscband.selectedIndex==7){vstons=(document.vsorder.vsallship.value*vstons7)/100;}
 if (document.vsorder.vscband.selectedIndex==8){vstons=(document.vsorder.vsallship.value*vstons8)/100;}
 if (document.vsorder.vscband.selectedIndex==9){vstons=(document.vsorder.vsallship.value*vstons9)/100;}
 if (document.vsorder.vscband.selectedIndex==10){vstons=(document.vsorder.vsallship.value*vstons10)/100;}
 if (document.vsorder.vscband.selectedIndex==11){vstons=(document.vsorder.vsallship.value*vstons11)/100;}
 if (document.vsorder.vscband.selectedIndex==12){vstons=(document.vsorder.vsallship.value*vstons12)/100;}
 if (allweight==0){vstons=0;}

  if (document.vsorder.vscband.selectedIndex==0){
  document.vsorder.vsShipping.value='';
  document.vsorder.vsallship.value = '';
  document.vsorder.vsallboth.value = '';
  }
 }

 if (showtax==1) {
 if (showship==0) {allweight=1; trueweight=1;}
 if (document.vsorder.vscband.selectedIndex==1){vstb=vstb1;}
 if (document.vsorder.vscband.selectedIndex==2){vstb=vstb2;}
 if (document.vsorder.vscband.selectedIndex==3){vstb=vstb3;}
 if (document.vsorder.vscband.selectedIndex==4){vstb=vstb4;}
 if (document.vsorder.vscband.selectedIndex==5){vstb=vstb5;}
 if (document.vsorder.vscband.selectedIndex==6){vstb=vstb6;}
 if (document.vsorder.vscband.selectedIndex==7){vstb=vstb7;}
 if (document.vsorder.vscband.selectedIndex==8){vstb=vstb8;}
 if (document.vsorder.vscband.selectedIndex==9){vstb=vstb9;}
 if (document.vsorder.vscband.selectedIndex==10){vstb=vstb10;}
 if (document.vsorder.vscband.selectedIndex==11){vstb=vstb11;}
 if (document.vsorder.vscband.selectedIndex==12){vstb=vstb12;}
 document.vsorder.vsTax.value=vstaxdescrip+': '+document.vsorder.vscband.options[document.vsorder.vscband.selectedIndex].text+' '+document.vsorder.vscband.options[document.vsorder.vscband.selectedIndex].value;

 if (showship==1) {
 document.vsorder.vsalltax.value = priceFormat(parseFloat(priceFormat(vstb))+vstons);
 }else{
 document.vsorder.vsalltax.value = priceFormat(vstb);
 }

if (!priceFormat(parseFloat(priceFormat(vstb)+priceFormat(vstons)))){document.vsorder.vsalltax.value = 0;}
if((isNaN(document.vsorder.vsalltax.value))||(document.vsorder.vsalltax.value=='')) {document.vsorder.vsalltax.value=0}

  if (document.vsorder.vscband.selectedIndex==0){
  document.vsorder.vsTax.value='';
  document.vsorder.vsalltax.value = '';
  document.vsorder.vsallboth.value = '';
  }
 }

if ((allweight==0)&&(document.vsorder.vscband.selectedIndex > 0)) {document.vsorder.vsallship.value='0';}


 if ((showship==1)&&(showtax==1)) {
 document.vsorder.vsallboth.value = priceFormat(parseFloat(document.vsorder.vsallship.value)+parseFloat(document.vsorder.vsalltax.value));
 } else if (showship==1) {
 document.vsorder.vsallboth.value = document.vsorder.vsallship.value;
 } else if (showtax==1) {
 document.vsorder.vsallboth.value = document.vsorder.vsalltax.value;
 }
if(!document.vsorder.vsallboth.value){document.vsorder.vsallboth.value=0;}
if (isNaN(document.vsorder.vsallboth.value)){document.vsorder.vsallboth.value = '';}
}
}

function addTS(ship,tax){
 if ((ship==1)&&(tax==1)){
  if((document.vsorder.vsallboth.value)&&(document.vsorder.vsShipping.value)&&(document.vsorder.vsallship.value)&&(document.vsorder.vsTax.value)&&(document.vsorder.vsalltax.value)){
  doallship(ship,tax);
  addToCart(document.vsorder.vsShipping.value,document.vsorder.vsallship.value,'0','1','0','0','0','0','0','0','0','0','0','0','0','0','noreload','remslot');
  }
 }else if (ship==1){
  if((document.vsorder.vsallboth.value)&&(document.vsorder.vsShipping.value)&&(document.vsorder.vsallship.value)){
  doallship(ship,tax);
  addToCart(document.vsorder.vsShipping.value,document.vsorder.vsallship.value,'0','1','0','0','0','0','0','0','0','0','0','0','0','0','','remslot');
  }
 }

 if (tax==1){
 if (ship==0){
  if((document.vsorder.vsallboth.value)&&(document.vsorder.vsTax.value)&&(document.vsorder.vsalltax.value)){
  doallship(ship,tax);
  addToCart(document.vsorder.vsTax.value,document.vsorder.vsalltax.value,'0','1','0','0','0','0','0','0','0','0','0','0','0','0','','remslot');
  }
 }else{
  if((document.vsorder.vsallboth.value)&&(document.vsorder.vsShipping.value)&&(document.vsorder.vsallship.value)&&(document.vsorder.vsTax.value)&&(document.vsorder.vsalltax.value)){
  doallship(ship,tax);
  addToCart(document.vsorder.vsTax.value,document.vsorder.vsalltax.value,'0','1','0','0','0','0','0','0','0','0','0','0','0','0','','');
  }
 }
 }
}

function displayShip(ship,tax,vsccolor1,vsccolor2,vscborder,vshide,vsbtext) {
document.writeln('<TABLE width=75% border='+vscborder+' cellspacing=1 cellpadding=2 '+vsccolor1+'>');
getWeight()
allweight = priceFormat(allweight);
if (vsru == 1) { trueweight = allweight;}
document.writeln('<tr><td colspan=2 align=right '+vsccolor1+'>');
document.writeln('<select name="vscband" size=1 onChange=doallship('+ship+','+tax+')>');

document.writeln('<option selected>'+vsband);
if (vsband1){document.writeln('<option value="'+vstaxex1+'">'+vsband1);}
if (vsband2){document.writeln('<option value="'+vstaxex2+'">'+vsband2);}
if (vsband3){document.writeln('<option value="'+vstaxex3+'">'+vsband3);}
if (vsband4){document.writeln('<option value="'+vstaxex4+'">'+vsband4);}
if (vsband5){document.writeln('<option value="'+vstaxex5+'">'+vsband5);}
if (vsband6){document.writeln('<option value="'+vstaxex6+'">'+vsband6);}
if (vsband7){document.writeln('<option value="'+vstaxex7+'">'+vsband7);}
if (vsband8){document.writeln('<option value="'+vstaxex8+'">'+vsband8);}
if (vsband9){document.writeln('<option value="'+vstaxex9+'">'+vsband9);}
if (vsband10){document.writeln('<option value="'+vstaxex10+'">'+vsband10);}
if (vsband11){document.writeln('<option value="'+vstaxex11+'">'+vsband11);}
if (vsband12){document.writeln('<option value="'+vstaxex12+'">'+vsband12);}
document.writeln('</select></td><td colspan=1 '+vsccolor1+'>&nbsp;</td></tr>');

 if (ship==1){
  if (vshide==1){
  document.writeln('<input type=hidden name=vsShipping><input type=hidden name=vsallship>')
  }else{
  document.writeln('<tr><td colspan=2 align=right '+vsccolor2+'>');
  document.writeln('<input type=text name=vsShipping size=48></td><td '+vsccolor2+'><input type=text size=6 name=vsallship></td></tr>');
  }
 }

 if (tax==1){
  if (vshide==1){
  document.writeln('<input type=hidden name=vsTax><input type=hidden name=vsalltax>');
  }else{
  document.writeln('<tr><td colspan=2 align=right '+vsccolor2+'>');
  document.writeln('<input type=text name="vsTax" size=48></td><td '+vsccolor2+'><input type=text size=6 name=vsalltax></td></tr>');
  }
 }

document.writeln('<tr><td colspan=2 align=right '+vsccolor1+'><INPUT TYPE="button" NAME="vsAddBoth" VALUE="  '+vsbtext+'  " onclick="addTS('+ship+','+tax+')"></td><td colspan=1 '+vsccolor1+'>');
  if ((tax==1)&&(ship==1)){
   if (vshide!=1){
   document.writeln('<input type=text size=6 name=vsallboth>');
   }else{
   document.writeln('<input type=hidden name=vsallboth>&nbsp;');
   }
  }else{
  document.writeln('<input type=hidden name=vsallboth>&nbsp;');
  }

document.writeln('</td></tr></table>');
}
//-->

//<!--
vsnovals='You have missed some vital information required to submit this form:';
//-->

