/* 
	Set True or False to activate the Special Rate Button
*/


/*var _SpecialRate = false;*/

var _SpecialRate = false;
var _MagicWord = "magic";

function showSpecialRate()    
{        
	
   if ( _SpecialRate == true )
   {            
		document.getElementById("wb_PayPal4").style.visibility = "visible";        
		document.getElementById("wb_PayPalLabel4").style.visibility = "visible";        		
   }  
   else
   {
	
	var GETDATA = new Array();
	
	// Get the string that follows the "?" in the window's location.
	var sGet = window.location.search;
	if (sGet) // if has a value...
	{
	    // Drop the leading "?"
	    sGet = sGet.substr(1);
	    
	    // Generate a string array of the name value pairs.
	    // Each array element will have the form "foo=bar"
	    var sNVPairs = sGet.split("&");
	    
	    // Now, for each name-value pair, we need to extract
	    // the name and value.
	    for (var i = 0; i < sNVPairs.length; i++)
	    {
	        // So, sNVPairs[i] contains the current element...
	        // Split it at the equals sign.
	        var sNV = sNVPairs[i].split("=");
	        
	        // Assign the pair to the GETDATA array.
	        var sName = sNV[0];
	        var sValue = sNV[1];
	        GETDATA[sName] = sValue;
	    }
	}
	
	// Finally, assign the value to foo.
	if (GETDATA[_MagicWord] != undefined)  
	// Just in case we forgot to pass something to foo...
	/*document.forms.MyForm.foo.value = GETDATA["foo"];*/
	{   
			document.getElementById("wb_PayPal4").style.visibility = "visible";        
			document.getElementById("wb_PayPalLabel4").style.visibility = "visible"; 

	}
    }
	
}    
 