
function listoffices (areavlu) {

	document.details.tdropoff.length = 1;	

	window.coderunner.location.href = "qsoffbuild.w?UckUcZllaaIpkkac=&POlfigXkjkjkWbdq=&SblzdbFStskKccak=&RkkFlPbjklpsIaUb=GBR&bnjhpihkAiciaikE=EN&ijdljPdkdjpozkbt=" + areavlu;

}	



function listdropoffices (pickvlu) {	

	window.coderunner.location.href = "qsdropoffbuild.w?UckUcZllaaIpkkac=&POlfigXkjkjkWbdq=&SblzdbFStskKccak=&RkkFlPbjklpsIaUb=GBR&bnjhpihkAiciaikE=EN&HdPnYakbadliacdJ=" + pickvlu;

}	



<!-- Main function to initiate slider



function init(){



  mySlider2 = new Bs_Slider();

  mySlider2.attachOnChange(bsSliderChange);

  mySlider2.width         = width;

  mySlider2.padding		  = 1;

  mySlider2.height        = height;

  

<!-- range price varibles being used as the min/max value of slider.

  mySlider2.minVal        = parseFloat(lowprice);

  mySlider2.maxVal        = (parseFloat(highprice)+1);

  mySlider2.valueDefault  = (parseFloat(highprice)+1);

//-->

  mySlider2.valueInterval = 1;

  mySlider2.setBackgroundImage('bg.gif', 'no-repeat');

  mySlider2.setSliderIcon('slider.gif', 8, 22);

  mySlider2.useInputField = 0;

  mySlider2.colorbar = new Object();

  mySlider2.colorbar['color']           = '#ff6600';

  mySlider2.colorbar['height']          = 4;

  mySlider2.colorbar['widthDifference'] = 4;

  mySlider2.colorbar['offsetLeft']      = 3;

  mySlider2.colorbar['offsetTop']       = 11;

  mySlider2.draw('sliderDiv1');

  showall();

   }



<!-- Main function to make the slider reset when advanced filter is chosen

function init1(){



  mySlider2 = new Bs_Slider();

  mySlider2.attachOnChange(bsSliderChange);

  mySlider2.width         = width;

  mySlider2.padding		  = 1;

  mySlider2.height        = height;

  

<!-- range price varibles being used as the min/max value of slider.

  mySlider2.minVal        = parseFloat(lowprice);

  mySlider2.maxVal        = (parseFloat(highprice)+1);

  mySlider2.valueDefault  = (parseFloat(highprice)+1);

//-->

  mySlider2.valueInterval = 1;

  mySlider2.setBackgroundImage('bg.gif', 'no-repeat');

 

  mySlider2.setSliderIcon('slider.gif', 8, 22);

  mySlider2.useInputField = 0;

  mySlider2.colorbar = new Object();

  mySlider2.colorbar['color']           = '#ff6600';

  mySlider2.colorbar['height']          = 4;

  mySlider2.colorbar['widthDifference'] = 4;

  mySlider2.colorbar['offsetLeft']      = 3;

  mySlider2.colorbar['offsetTop']       = 11;

  mySlider2.draw('sliderDiv1');

   }

//-->



<!-- 

//Function to show all cars when view all cars is pressed. Resets all values on screen. 

//Shows value of lowend and highend price on the slider as well as the range selected. 



function showall(sliderObj, val, newPos){ 

	document.getElementById("rangemessage1").innerHTML = '&nbsp;' + '<b>&euro;<\/b>' + '<b>'+ parseFloat(lowprice) +'<\/b>' + ' ' + '<b> to &euro;<\/b>' + '<b>' + (parseFloat(highprice)+1) + '.' + '<\/b>';

	document.getElementById("rangemessage2").innerHTML =  'price range:';

    document.getElementById("rangemessage3").innerHTML = 'The price range selected is'+ '&nbsp;' + '<b>&euro;<\/b>' + '<b>'+ parseFloat(lowprice) +'<\/b>' + ' ' + '<b> to &euro;<\/b>' + '<b>' + (parseFloat(highprice)+1) + '.' + '<\/b>';

	document.getElementById("rangeposition").innerHTML = '<b>' + '&euro;' + parseFloat(lowprice) + '<\/b>';

	document.getElementById("rangeposition1").innerHTML = '<b>' + '&euro;' + (parseFloat(highprice)+1) + '<\/b>';

	greyout(val);

	document.form2.reset();



}

//-->



<!-- 

//Function to display prices etc. on screen when the slider is moved. Calls function greyout to ensure 

//that cars shown are those that are within the price range of the slider.



function bsSliderChange(sliderObj, val, newPos){ 

    document.getElementById("rangemessage1").innerHTML = '&nbsp;' + '<b>&euro;<\/b>' + '<b>'+ parseFloat(lowprice) +'<\/b>' + ' ' + '<b> to &euro;<\/b>' + '<b>' + (val) + '.'+ '<\/b>';

    document.getElementById("rangemessage2").innerHTML =  'price range:';

	document.getElementById("rangemessage3").innerHTML = 'You have selected the following price range'+ '&nbsp;' + '<b>&euro;<\/b>' + '<b>'+ parseFloat(lowprice) +'<\/b>' + ' ' + '<b> to &euro;<\/b>' + '<b>' + (val) + '.' + '<\/b>';

	document.getElementById("rangeposition").innerHTML = '<b>' + '&euro;' + parseFloat(lowprice) + '<\/b>';

   	document.getElementById("rangeposition1").innerHTML = '<b>' + '&euro;' + (parseFloat(highprice)+1) + '<\/b>';

	greyout(val);

}

//-->



<!--

// Function to retrieve the online price from the div id of the page then compare it to the value 

//selected by the slider and filter out car according to the price selected.Also counts how many cars

// are being shown out of the total number.





function greyout(val){

var prices = document.getElementsByTagName("div");	 



var limit ;

limit = val;



<!-- Variables for total number of cars and cars showing.

var totalnumberofcars ;

totalnumberofcars = 0 ;

var numberofcarshown;

numberofcarshown =0;



var sipps = document.getElementsByTagName("div");

	 

	 for (i=0; i < sipps.length; i++){

	 var currentsipp = sipps[i].getAttribute("id")



<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*')  {

	   totalnumberofcars++

	  }

	  }

	 for (var i=0; i < prices.length; i++){



<!-- checks where the first character is equal to a blank space (there is a blank space in 

// div id (online_price) in wpcarlist. Pricecomma is taking the price and removes the comma(,) if there 

// there is one in the price, and coverts the string into an integer using parseFloat.

 

	if ( prices[i].getAttribute("id").charAt(0)==' ') {

	var price = (prices[i].getAttribute("id"))

	var pricecomma= price.replace(/,/g,'');

	var integerprice = parseFloat(pricecomma);

	var results

        results=Math.round(pricecomma);

	

<!-- 

//expression to remove car from screen if price of car is greater than that selected. 

//As well as showing how many cars are left out of the total



			if (integerprice > limit) {

				prices[i].className='trans25';

				

             }

			else {

	   			prices[i].className='transoff';

				numberofcarshown=numberofcarshown+1;

					document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

	     		}

            }

         }



}

//-->



<!-- code to use different style sheet depending on platform (mac/pc)

if(navigator.userAgent.indexOf("Mac") != -1){

    isMac = 1;

	document.write("<link href='/EIR/css/positioningmac.css' rel='stylesheet' type='text/css'/>");

}



else 

{

document.write("<link href='/EIR/css/positioningpc.css' rel='stylesheet' type='text/css'/>");

}

//-->



<!-- Function for the advance filter searching.

function mainfunc(){

greyout1();

greyout2();

greyout3();

greyout4();

greyout5();

function greyout1(classes){



	var sipps = document.getElementsByTagName("div");

	var classes;

		classes = document.form2.classes.value;

		

    var totalnumberofcars ;

        totalnumberofcars = 0 ;

    var numberofcarshown;

        numberofcarshown = 0;

		 

    for (i=0; i < sipps.length; i++){

	     var currentsipp = sipps[i].getAttribute("id")



<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*')  {

	   totalnumberofcars++

	  }

	}

	

  

 <!-- 

//checks if classes (form element) is none, otherwise it get on with the filtering.



	if (classes=='NONE'){

		greyout2(); 

	}

	

	else{



	for (var i=0; i < sipps.length; i++){

	var currentsipp = sipps[i].getAttribute("id");



<!-- 

//checks if cars are showing, if classes is equal to the character from the sipp code then 

//leave car visible in not the filter it out and minus from number of cars showing.

	if   (sipps[i].className!='trans25' ) {

		

	 if (  (currentsipp.charAt(0)=='*') && ( (classes) == (currentsipp.charAt(1)) )  ) {

			  sipps[i].className='transOFF';

			  numberofcarshown=numberofcarshown+1;

 	    }

		

		else if ( (currentsipp.charAt(0)=='*') && ( (classes) != (currentsipp.charAt(1)) )  )  {

			      numberofcarshown=numberofcarshown--;

		          sipps[i].className='trans25';			

 		  }

	   }

    }



<!-- 

//checks if numberofcars is equal to zero and if so display message to say there are no cars available 

//display standard messaging



   if (numberofcarshown==0){

    	  document.getElementById("filtermessage").innerHTML = '<b>' + ' Sorry we do not have any cars available for your selected criteria.'+ '<br>' + '<br>' + 'Please' + ' ' + '<a href="#" onClick="clearAll(),clearAll2()">' + 'click here' +  '<\/a>' + ' ' + 'to reset your search and to view the full range of cars available' + '<\/b>';

		  document.getElementById("rangemessage3").innerHTML = ' ';

		  document.getElementById("rangemessage1").innerHTML = ' ';

          document.getElementById("rangemessage2").innerHTML =  ' ';

     }    

	   else{

			document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

			document.getElementById("rangemessage3").innerHTML = ' ';

			document.getElementById("rangemessage1").innerHTML = ' ';

            document.getElementById("rangemessage2").innerHTML =  ' ';

      }

    }

 }



function greyout2(){



    var sipps = document.getElementsByTagName("div");

	var type;

		type = document.form2.type.value;

		

	var totalnumberofcars;

        totalnumberofcars = 0;

    var numberofcarshown;

        numberofcarshown =0;

		 

    for (i=0; i < sipps.length; i++){

	    var currentsipp = sipps[i].getAttribute("id")

  

<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*')  {

	   totalnumberofcars++

	  }

	}



 <!-- 

//checks if type (form element) is none, otherwise it get on with the filtering.



	if (type=='NONE'){

		greyout3();

	}

 	else{



	for (var i=0; i < sipps.length; i++){

	var currentsipp = sipps[i].getAttribute("id");



<!-- 

//checks if cars are showing, if classes is equal to the character from the sipp code then 

//leave car visible in not the filter it out and minus from number of cars showing.

	if   (sipps[i].className!='trans25' ) {

				

		if (  (currentsipp.charAt(0)=='*') && ( (type) == (currentsipp.charAt(2)) )  ) {

			  sipps[i].className='transOFF';

			  numberofcarshown=numberofcarshown+1;

 	    }

		

		else if ( (currentsipp.charAt(0)=='*') && ( (type) != (currentsipp.charAt(2)) )  )  {

			      numberofcarshown=numberofcarshown--;

		          sipps[i].className='trans25';			

 		}

	 }

  }



//checks if numberofcars is equal to zero and if so display message to say there are no cars available 

//display standard messaging



   if (numberofcarshown==0){

    	  		  document.getElementById("filtermessage").innerHTML = '<b>' + ' Sorry we do not have any cars available for your selected criteria.'+ '<br>' + '<br>' + 'Please' + ' ' + '<a href="#" onClick="clearAll(),clearAll2()">' + 'click here' +  '<\/a>' + ' ' + 'to reset your search and to view the full range of cars available' + '<\/b>';

		  document.getElementById("rangemessage3").innerHTML = ' ';

		  document.getElementById("rangemessage1").innerHTML = ' ';

          document.getElementById("rangemessage2").innerHTML =  ' ';

     }    

	   else{

			document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

			document.getElementById("rangemessage3").innerHTML = ' ';

			document.getElementById("rangemessage1").innerHTML = ' ';

            document.getElementById("rangemessage2").innerHTML =  ' ';

      }

   }

}

 

function greyout3(){

	

	var sipps = document.getElementsByTagName("div");

	var transmission;

		transmission = document.form2.transmission.value;

		

	var totalnumberofcars ;

		totalnumberofcars = 0 ;

	var numberofcarshown;

		numberofcarshown =0;

		 

	for (i=0; i < sipps.length; i++){

		 var currentsipp = sipps[i].getAttribute("id")



<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*')  {

	   totalnumberofcars++

	  }

	}



 <!-- 

//checks if type (form element) is none, otherwise it get on with the filtering.



	if (transmission=='NONE'){

		greyout4();

	}

 	else{



	for (var i=0; i < sipps.length; i++){

	var currentsipp = sipps[i].getAttribute("id");



<!-- 

//checks if cars are showing, if classes is equal to the character from the sipp code then 

//leave car visible in not the filter it out and minus from number of cars showing.

	if   (sipps[i].className!='trans25' ) {

				

		if (  (currentsipp.charAt(0)=='*') && ( (transmission) == (currentsipp.charAt(3)) )  ) {

			  sipps[i].className='transOFF';

			  numberofcarshown=numberofcarshown+1;

 	    }

		

		else if ( (currentsipp.charAt(0)=='*') && ( (transmission) != (currentsipp.charAt(3)) )  )  {

			      numberofcarshown=numberofcarshown--;

		          sipps[i].className='trans25';			

 		}

	 }

  }



//checks if numberofcars is equal to zero and if so display message to say there are no cars available 

//display standard messaging



   if (numberofcarshown==0){

    	  document.getElementById("filtermessage").innerHTML = '<b>' + ' Sorry we do not have any cars available for your selected criteria.'+ '<br>' + '<br>' + 'Please' + ' ' + '<a href="#" onClick="clearAll(),clearAll2()">' + 'click here' +  '<\/a>' + ' ' + 'to reset your search and to view the full range of cars available' + '<\/b>';

		  document.getElementById("rangemessage3").innerHTML = ' ';

		  document.getElementById("rangemessage1").innerHTML = ' ';

          document.getElementById("rangemessage2").innerHTML =  ' ';

     }    

	   else{

			document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

			document.getElementById("rangemessage3").innerHTML = ' ';

			document.getElementById("rangemessage1").innerHTML = ' ';

            document.getElementById("rangemessage2").innerHTML =  ' ';

      }

   }

}

 

function greyout4(){

	

	var sipps = document.getElementsByTagName("div");

	var ac;

		ac = document.form2.ac.value;

		

	var totalnumberofcars ;

		totalnumberofcars = 0 ;

	var numberofcarshown;

		numberofcarshown =0;

		 

	for (i=0; i < sipps.length; i++){

		 var currentsipp = sipps[i].getAttribute("id")



<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*')  {

	   totalnumberofcars++


	  }

	}



<!-- 

//checks if type (form element) is none, otherwise it get on with the filtering.



	if (ac=='NONE'){
		greyout5();
	}

 	

	else{



	for (var i=0; i < sipps.length; i++){

	var currentsipp = sipps[i].getAttribute("id");



<!-- 

//checks if cars are showing, if classes is equal to the character from the sipp code then 

//leave car visible in not the filter it out and minus from number of cars showing.

	if   (sipps[i].className!='trans25' ) {

				

		if (  (currentsipp.charAt(0)=='*') && ( (ac) == (currentsipp.charAt(4)) )  ) {

			  sipps[i].className='transOFF';

			  numberofcarshown=numberofcarshown+1;

 	    }

		

		else if ( (currentsipp.charAt(0)=='*') && ( (ac) != (currentsipp.charAt(4)) )  )  {

			      numberofcarshown=numberofcarshown--;

		          sipps[i].className='trans25';			

 		}

	 }

  }



//checks if numberofcars is equal to zero and if so display message to say there are no cars available 

//display standard messaging



   if (numberofcarshown==0){

    	  document.getElementById("filtermessage").innerHTML = '<b>' + ' Sorry we do not have any cars available for your selected criteria.'+ '<br>' + '<br>' + 'Please' + ' ' + '<a href="#" onClick="clearAll(),clearAll2()">' + 'click here' +  '<\/a>' + ' ' + 'to reset your search and to view the full range of cars available' + '<\/b>';

		  document.getElementById("rangemessage3").innerHTML = ' ';

		  document.getElementById("rangemessage1").innerHTML = ' ';

          document.getElementById("rangemessage2").innerHTML =  ' ';

     }    

	   else{

			document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

			document.getElementById("rangemessage3").innerHTML = ' ';

			document.getElementById("rangemessage1").innerHTML = ' ';

            document.getElementById("rangemessage2").innerHTML =  ' ';

         }

      }

   }
   
function greyout5(){



    var sipps = document.getElementsByTagName("div");

	var confirmed;
	var on_request = document.form2.confirmed.options[document.form2.confirmed.selectedIndex].value;

	var totalnumberofcars;

        totalnumberofcars = 0;

    var numberofcarshown;

        numberofcarshown =0;

		 

    for (i=0; i < sipps.length; i++){

	    var currentsipp = sipps[i].getAttribute("id")
		

<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*')  {

	   totalnumberofcars++;

	  }

	}



 <!-- 

//checks if type (form element) is none, otherwise it get on with the filtering.



	if (on_request=='NONE'){

		//greyout3();

	}

 	else{



	for (var i=0; i < sipps.length; i++){

	var currentsipp = sipps[i].getAttribute("id");
	
	var confirmed = currentsipp.substr(currentsipp.indexOf('_')+1);
  	


<!-- 

//checks if cars are showing, if classes is equal to the character from the sipp code then 

//leave car visible in not the filter it out and minus from number of cars showing.

	if   (sipps[i].className!='trans25' ) {

				
			//console.log("before check: " + on_request + " " + sipps[i].id + " " + confirmed);
		if (  (currentsipp.charAt(0)=='*') && ( on_request == confirmed )  ) {
			//  console.log("show" + sipps[i].id);
			  sipps[i].className='transOFF';

			  numberofcarshown=numberofcarshown+1;

 	    }else if ( (currentsipp.charAt(0)=='*') && ( on_request != confirmed )  )  {
				//	console.log("hide" + sipps[i].id);
			      numberofcarshown=numberofcarshown--;

		          sipps[i].className='trans25';			

 		}

	 }

  }



//checks if numberofcars is equal to zero and if so display message to say there are no cars available 

//display standard messaging
   if (numberofcarshown==0){
    	  		  document.getElementById("filtermessage").innerHTML = '<br><b>' + ' Sorry we do not have any cars available for your selected criteria.'+ '<br>' + '<br>' + 'Please' + ' ' + '<a href="#" onClick="clearAll(),clearAll2()">' + 'click here' +  '<\/a>' + ' ' + 'to reset your search and to view the full range of cars available' + '<\/b>';
		  document.getElementById("rangemessage3").innerHTML = ' ';
		  document.getElementById("rangemessage1").innerHTML = ' ';
          document.getElementById("rangemessage2").innerHTML =  ' ';
     }else{
			document.getElementById("totalcars").innerHTML = 'showing' + ' ' + '<b>' + (numberofcarshown)  + '<\/b>'+ ' ' + 'out of'+ ' ' +'<b>' + (totalnumberofcars)+ '<\/b>' + ' ' + 'cars.'; 
			document.getElementById("rangemessage3").innerHTML = ' ';
			document.getElementById("rangemessage1").innerHTML = ' ';
            document.getElementById("rangemessage2").innerHTML =  ' ';

      }

   }

 }

}

//function to reset all sipps to be visible



function clearAll(){

	

       var sipps = document.getElementsByTagName("div");

	

	   var 	totalnumberofcars ;

			totalnumberofcars = 0 ;

	   var  numberofcarshown;

			numberofcarshown =0;

		 

	   for (var i=0; i < sipps.length; i++){



		if (sipps[i].className=='trans25' ){

			  sipps[i].className='transOFF';

			  document.getElementById("filtermessage").innerHTML = '<b>' + ' '  + '<\/b>'; 

			  document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

		   }

	    }

	}



//function to reset price filter when form is submitted resets all sipps to be visible



function clearAll2(){

	init1();

	

	var sipps = document.getElementsByTagName("div");

	var totalnumberofcars ;

		totalnumberofcars = 0 ;

	var numberofcarshown;

		numberofcarshown =0;

			 

	for (i=0; i < sipps.length; i++){

		 var currentsipp = sipps[i].getAttribute("id")



<!-- 

//checks if the first character is a star (sipps for car have a star at the beginning) 

//and if so adds up the total number of stars.



	if (currentsipp.charAt(0)=='*') {

	    totalnumberofcars++

	  }

    }	     

	  document.form2.reset();

	  document.getElementById('type').disabled=false;

	  document.getElementById('ac').disabled=false;

	  document.getElementById('transmission').disabled=false;

                  document.getElementById('confirmed').disabled=false;

	  document.getElementById("filtermessage").innerHTML = '<b>' + ' '  + '<\/b>'; 

	   document.getElementById("totalcars").innerHTML = 'There are' + ' ' + '<b>' + (totalnumberofcars) + ' ' + 'cars in total.' + ' '+ 'To view all cars' + '<a href="#" class="font_sm" onClick="showall(),init();clearAll();clearAll2();">' +' ' + 'click here.' + '<\/b>'; 

	  }

  

<!-- 

//array and function to state if the menus have expanded or not. Also resets the messaging on screen

//when the menus is closed.



menus_array = new Array ('ddIT','ddPricefilter');

menus_status_array = new Array ();// remembers state of switches

img_close = '/EIR/images/expandbutton-close1.gif';

img_open = '/EIR/images/expandbutton-open1.gif';





function showHideSwitch (theid) {

  if (document.getElementById) {

    var switch_id = document.getElementById(theid);

    var imgid = theid+'Button';

    var button_id = document.getElementById(imgid);

   

  if (menus_status_array[theid] != 'show') {

      button_id.setAttribute ('src', img_close);

      switch_id.className = 'showSwitch';

	  menus_status_array[theid] = 'show';	  

	  init();

    }

	else{

      button_id.setAttribute ('src', img_open);

      switch_id.className = 'hideSwitch';

	  menus_status_array[theid] = 'hide';

	  init();

	  clearAll();


	  clearAll2();

    }

  }

}



<!-- 

//checks what browser is used and changes css based on it.



if (  (navigator.appName == "Microsoft Internet Explorer") &&   (parseInt(navigator.appVersion)>= 4 )  ) {

 document.write("<link href='/EIR/css/quotation.css' rel='stylesheet' type='text/css'/>");

    }



else {

      document.write("<link href='/EIR/css/quotation1.css' rel='stylesheet' type='text/css'/>")

	}






