var ResultString;function CheckR(What)
{var PositionStart;PositionStart=document.referrer.indexOf(What);var PositionEnd;if(PositionStart>0)
{InterrimString=unescape(document.referrer.substring(PositionStart));PositionEnd=InterrimString.indexOf("&");if(PositionEnd!=-1)
{ResultString=InterrimString.substring(0,PositionEnd);}
else
{ResultString=InterrimString;}
ResultString=ResultString.split(What).join("");}
return(PositionStart>0);}
var SearchTerms;var SearchPlus;if(CheckR("q=")){SearchTerms=ResultString}
else if(CheckR("qkw=")){SearchTerms=ResultString}
else if(CheckR("query=")){SearchTerms=ResultString}
else if(CheckR("Keywords=")){SearchTerms=ResultString}
else if(CheckR("p=")){SearchTerms=ResultString}
else if(CheckR("key=")){SearchTerms=ResultString}
else if(CheckR("MT=")){SearchTerms=ResultString}
else if(CheckR("terms=")){SearchTerms=ResultString}
else SearchTerms=""
SearchPlus=SearchTerms
document.cookie="O_REF="+escape(document.referrer)+"; expires=Tue, 18-May-15 00:00:01 GMT; path=/;domain=www.livonlabs.com";document.cookie="O_LOCPATH="+escape(location.pathname)+"; expires=Tue, 18-May-15 00:00:01 GMT; path=/;domain=www.livonlabs.com";document.cookie="O_SCH="+SearchPlus+"; expires=Tue, 18-May-15 00:00:01 GMT; path=/;domain=www.livonlabs.com";document.cookie="O_SCRES="+escape(screen.width)+"x"+escape(screen.height)+"; expires=Tue, 18-May-15 00:00:01 GMT; path=/;domain=www.livonlabs.com";