function gup( name ){  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");  var regexS = "[\\?&]"+name+"=([^&#]*)";  var regex = new RegExp( regexS );  var results = regex.exec( window.location.href );  if( results == null )    return "&quot;Like It Or Not... <br />2012 Is Coming!&quot;";  else    return results[1];}	

var test_string = gup ( 'testy' );


	
if (document.referrer.indexOf('yahoo.com') != -1 ||
document.referrer.indexOf('google.com') != -1 ||
document.referrer.indexOf('google.*') != -1 ||
document.referrer.indexOf('msn.com') != -1 || 
test_string == "1" )

{

var passed_string = gup( 'headline' ); 

} else var passed_string = "&quot;Like It Or Not... <br />2012 Is Coming!&quot;";

var strReplaceAll = passed_string;
var intIndexOfMatch = strReplaceAll.indexOf( "_" );
var intIndexOfMatch2 = strReplaceAll.indexOf( "+" );
var intIndexOfMatch3 = strReplaceAll.indexOf( "^" );
var intIndexOfMatch4 = strReplaceAll.indexOf( "~" );



// Loop over the string value replacing out each matching
// substring.
while (intIndexOfMatch != -1){
// Relace out the current instance.
strReplaceAll = strReplaceAll.replace( "_", " " )
 

// Get the index of any next matching substring.
intIndexOfMatch = strReplaceAll.indexOf( "_" );
}

// Loop over the string value replacing out each matching
// substring.
while (intIndexOfMatch2 != -1){
// Relace out the current instance.
strReplaceAll = strReplaceAll.replace( "+", "<br \>" )
 

// Get the index of any next matching substring.
intIndexOfMatch2 = strReplaceAll.indexOf( "+" );
}

// Loop over the string value replacing out each matching
// substring.
while (intIndexOfMatch3 != -1){
// Relace out the current instance.
strReplaceAll = strReplaceAll.replace( "^", "'" )
 

// Get the index of any next matching substring.
intIndexOfMatch3 = strReplaceAll.indexOf( "^" );
}

// Loop over the string value replacing out each matching
// substring.
while (intIndexOfMatch4 != -1){
// Relace out the current instance.
strReplaceAll = strReplaceAll.replace( "~", "\"" )
 

// Get the index of any next matching substring.
intIndexOfMatch4 = strReplaceAll.indexOf( "~" );
}

document.write(strReplaceAll);