function reload1(form)
{
var locate=location;
var val=form.catid1_a.options[form.catid1_a.options.selectedIndex].value; 
self.location=locate + '&catid1_a=' + val ;
}

function reload2(form)
{
var locate=location;
var val2=form.catid1_b.options[form.catid1_b.options.selectedIndex].value; 
self.location=locate + '&catid1_b=' + val2 ;
}

function reload3(form)
{
var locate=location;
var val3=form.catid1_c.options[form.catid1_c.options.selectedIndex].value; 
self.location=locate + '&catid1_c=' + val3 ;
}

function reload4(form)
{
var locate=location;
var val4=form.catid1_d.options[form.catid1_d.options.selectedIndex].value; 
self.location=locate + '&catid1_d=' + val4 ;
}

function reload5(form)
{
var locate=location;
var val5=form.catid1_e.options[form.catid1_e.options.selectedIndex].value; 
self.location=locate + '&catid1_e=' + val5 ;
}

function reload6(form)
{
var locate=location;
var val6=form.catid1_f.options[form.catid1_f.options.selectedIndex].value; 
self.location=locate + '&catid1_f=' + val6;
}
function reload7(form)
{
var locate=location;
var val7=form.catid1_g.options[form.catid1_g.options.selectedIndex].value; 
self.location=locate + '&catid1_g=' + val7;
}
function reload8(form)
{
var locate=location;
var val8=form.catid1_h.options[form.catid1_h.options.selectedIndex].value; 
self.location=locate + '&catid1_h=' + val8;
}
function reload9(form)
{
var locate=location;
var val9=form.catid1_i.options[form.catid1_i.options.selectedIndex].value; 
self.location=locate + '&catid1_i=' + val9;
}
function reload1b(form)
{
var locate=location;
var val=form.catid2_a.options[form.catid2_a.options.selectedIndex].value; 
self.location=locate + '&catid2_a=' + val ;
}

function reload2b(form)
{
var locate=location;
var val2=form.catid2_b.options[form.catid2_b.options.selectedIndex].value; 
self.location=locate + '&catid2_b=' + val2 ;
}

function reload3b(form)
{
var locate=location;
var val3=form.catid2_c.options[form.catid2_c.options.selectedIndex].value; 
self.location=locate + '&catid2_c=' + val3 ;
}

function reload4b(form)
{
var locate=location;
var val4=form.catid2_d.options[form.catid2_d.options.selectedIndex].value; 
self.location=locate + '&catid2_d=' + val4 ;
}

function reload5b(form)
{
var locate=location;
var val5=form.catid2_e.options[form.catid2_e.options.selectedIndex].value; 
self.location=locate + '&catid2_e=' + val5 ;
}

function reload6b(form)
{
var locate=location;
var val6=form.catid2_f.options[form.catid2_f.options.selectedIndex].value; 
self.location=locate + '&catid2_f=' + val6;
}
function reload7b(form)
{
var locate=location;
var val7=form.catid2_g.options[form.catid2_g.options.selectedIndex].value; 
self.location=locate + '&catid2_g=' + val7;
}
function reload8b(form)
{
var locate=location;
var val8=form.catid2_h.options[form.catid2_h.options.selectedIndex].value; 
self.location=locate + '&catid2_h=' + val8;
}
function reload9b(form)
{
var locate=location;
var val9=form.catid2_i.options[form.catid2_i.options.selectedIndex].value; 
self.location=locate + '&catid2_i=' + val9;
}
//original collapse expand single item by Leo Charre & Jesse Fergusson
//Internet Connection 2004 2005 ©
//www.internetconnection.net
//
//the following two functions were tweaked by Abel G. Perez to have the images passed in rather than
//have them statically defined in the javascript file. this way the user can use shortcode to pass in
//the image paths
//

//this switches expand collapse icons
function repimg(imagename,objectsrc){
if (document.images){
document.images[imagename].src=objectsrc
}
}

//show OR hide funtion depends on if element is shown or hidden
function expander(id, imgexp, imgcoll) {

if (document.getElementById) { // DOM3 = IE5, NS6
if (document.getElementById(id).style.display == "none"){
document.getElementById(id).style.display = 'block';
repimg(("img"+id),imgexp);
} else {
repimg(("img"+id),imgcoll);
document.getElementById(id).style.display = 'none';
}
} else {
if (document.layers) {
if (document.id.display == "none"){
document.id.display = 'block';
repimg(("img"+id),imgexp);
} else {
filter(("img"+id),imgcoll);
document.id.display = 'none';
}
} else {
if (document.all.id.style.visibility == "none"){
document.all.id.style.display = 'block';
} else {
repimg(("img"+id),imgcoll);
document.all.id.style.display = 'none';
}
}
}
}

/*
 
Correctly handle PNG transparency in Win IE 5.5 & 6.
http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006.

Use in <HEAD> with DEFER keyword wrapped in conditional comments:
<!--[if lt IE 7]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->

*/

var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

if ((version >= 5.5) && (document.body.filters)) 
{
   for(var i=0; i<document.images.length; i++)
   {
      var img = document.images[i]
      var imgName = img.src.toUpperCase()
      if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
      {
         var imgID = (img.id) ? "id='" + img.id + "' " : ""
         var imgClass = (img.className) ? "class='" + img.className + "' " : ""
         var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
         var imgStyle = "display:inline-block;" + img.style.cssText 
         if (img.align == "left") imgStyle = "float:left;" + imgStyle
         if (img.align == "right") imgStyle = "float:right;" + imgStyle
         if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
         var strNewHTML = "<span " + imgID + imgClass + imgTitle
         + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
         + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
         + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
         img.outerHTML = strNewHTML
         i = i-1
      }
   }
}

