﻿// Copyright Mountain Hardwoods 2009
// Code may only be used under license.
// Licensing Fees start at 10,000 GBP per week, 4 week minimum contract.
// Use of code in part or full incurs same licensing fees.
// Code-lifters will be prosecuted.

var tabnum;
var i;

function showtab(tabnum) {
  for (i=1; i<6; i++) {
    if (tabnum==i) {
      document.getElementById('inputslide'+i).style.display = 'block';
	  document.getElementById('quotetab'+i).style.color = '#ffffff';
	  document.getElementById('quotetab'+i).style.backgroundImage = "url('images/qtabon.gif')";
    }else{
      document.getElementById('inputslide'+i).style.display = 'none';
	  document.getElementById('quotetab'+i).style.color = '#5a5f2f';
	  document.getElementById('quotetab'+i).style.backgroundImage = "url('images/qtaboff.gif')";
    }
  }
}
