		 function overlay(){
	
	   tb_show('What is Tier 1 and Tier 2?','TB_inline?height=300&width=600&inlineId=Tier;modal=false');
	
	   }
	
	
	
	
		 function overlayTariff(tariff){
		 
		     if(tariff=="Standard"||tariff=="WebSaver 5"||tariff=="Online Energy"||tariff=="WebSaver 6"||tariff=="WebSaver 7"||tariff=="WebSaver 8"||tariff=="WebSaver 9"||tariff=="WebSaver 10"||tariff=="Fixed Price March 2013"||tariff=="WebSaver 11"||tariff=="Fixed Price June 2012"||tariff=="WebSaver 12"||tariff=="WebSaver 13"||tariff=="Online Fixed"||tariff=="OnlineSaver"||tariff=="OnlineSaver 2"||tariff=="OnlineSaver 3"||tariff=="OnlineSaver 4"||tariff=="OnlineSaver 5"||tariff=="Discount Tracker"||tariff=="DiscountSaver 2012"||tariff=="Price Cap 2012"||tariff=="4% Discount Tracker"||tariff=="Track and Save 2011"||tariff=="Future Energy"||tariff=="Future Energy Plus"||tariff=="Click Energy 5"||tariff=="Click Energy 6"||tariff=="Price Protection November 2011"||tariff=="Energyshare"){
		       tb_show('What is Tier 1 and Tier 2?','TB_inline?height=300&width=600&inlineId=Tier-tariff1;modal=false');
		      }
		     else if(tariff=="Rollback 2011"||tariff=="WebSaver 4"||tariff=="Market Monitor 2011"||tariff=="Fixed Price 2011"||tariff=="Fixed Price 2012"||tariff=="Price Guarantee March 2011"||tariff=="Price Protection March 2012"||tariff=="Price Protection April 2012"||tariff=="Price Promise June 2011"||tariff=="Price Promise June 2012"||tariff=="Fixed Price August 2011"||tariff=="Price Promise October 2012"||tariff=="Price Promise April 2014")
			{
			tb_show('What is Tier 1 and Tier 2?','TB_inline?height=300&width=600&inlineId=Tier-tariff2;modal=false');
		   }
		   }
	
	
	
	
	   function overlay_calculate(){
	
	      tb_show('How did we calculate this?','TB_inline?height=300&width=600&inlineId=calculate;modal=false');
	
	   }
	
	 
	
	
	 function overlay_paygo(){
	
	   tb_show('What is Tier 1 and Tier 2?','TB_inline?height=300&width=600&inlineId=Tier_paygo;modal=false');
	
	   }
	
	
	   function overlay_calculate_paygo(){
	
	      tb_show('How did we calculate this?','TB_inline?height=300&width=600&inlineId=calculate_paygo;modal=false');
	
	   }
	 
	    function overlay_pricepromise(){
	   
	      tb_show('What is Tier 1 and Tier 2?','TB_inline?height=300&width=600&inlineId=Tier_pricepromise;modal=false');
	   
	      }

           function overlay_calculate_pricepromise(){
	   
	         tb_show('How did we calculate this?','TB_inline?height=300&width=600&inlineId=calculate_pricepromise;modal=false');
	   
	      }
	   
	   
	      function overlay_calculate_onlinefixed(){
	   
	         tb_show('How did we calculate this?','TB_inline?height=300&width=600&inlineId=calculate_onlinefixed;modal=false');
	   
	      }
	    
	   
	      


   function tariffOrder() {

   location.hash="PriceMapFlash";

       if(document.getElementById('sotester') != null){
          document.getElementById('sotester').style.height='575px';
         }
       else{
         document.getElementById('creditoffer').style.height='575px';
         }

       if(document.getElementById('order_bottom') != null){
	 document.getElementById('order_bottom').style.display ='block';
	 }
       if(document.getElementById('promo-first') != null){
	 document.getElementById('promo-first').style.display ='none';
	 }
       if(document.getElementById('promo-second') != null){
	 document.getElementById('promo-second').style.display ='block';
	 }

   		 sIFR.replace(themixnormal, {
		selector: '#primary-content h2.sifr-black',
		css: ['.sIFR-root {color: #010101;kerning:true;leading:-3}'],
		wmode:'transparent',
		ratios: themixratios,
		tuneHeight:-3
		});
		}


    function tariffError(){
       location.hash="PriceMapFlash";
           if(document.getElementById('sotester') != null){
   	      document.getElementById('sotester').style.height='205px';
   	     }
   	     else{
   	     document.getElementById('creditoffer').style.height='215px';
   	     }
   	     if(document.getElementById('order_bottom') != null){
             document.getElementById('order_bottom').style.display ='none';
             }
             if(document.getElementById('promo-first') != null){
             document.getElementById('promo-first').style.display ='block';
             }
             if(document.getElementById('promo-second') != null){
   	     document.getElementById('promo-second').style.display ='none';
   	     }

       }


 function compareError(){
       location.hash="PriceMapFlash";
       document.getElementById('sotester').style.height='250px';
       document.getElementById('promo-first').style.display ='block';          	     
       document.getElementById('promo-second').style.display ='none';

       }

function compareOrder() {
         location.hash="PriceMapFlash";
   	 document.getElementById('sotester').style.height='592px';
   	document.getElementById('promo-first').style.display ='none';
   	document.getElementById('promo-second').style.display ='block';
   	
   	sIFR.replace(themixnormal, {
   	selector: '#primary-content h2.sifr-black',
   	css: ['.sIFR-root {color: #010101;kerning:true;leading:-3}'],
   	wmode:'transparent',
   	ratios: themixratios,
   	tuneHeight:-3
   	});
       }
       
function flexHeight(){
    location.hash="PriceMapFlash";
    document.getElementById('sotester').style.height='575px';
   }
   
    function bgHeight(){  
   
   	location.hash="PriceMapFlash";
   	document.getElementById('sotester').style.height='575px';   
   
   }

function flexError(){

	location.hash="PriceMapFlash";
       	document.getElementById('sotester').style.height='234px';
   }
   
   function bgError(){   
   
   	location.hash="PriceMapFlash"; 
   	document.getElementById('sotester').style.height='270px';   
   
   }

