var cookies = ( "cookie" in document && ( document.cookie.length > 0 || (document.cookie = "test").indexOf.call(document.cookie, "test") > -1) );
if ( cookies ) {
document.body.innerHTML=document.body.innerHTML+'';
} else {
document.body.innerHTML=document.body.innerHTML+'';
}
wait until you redirecting orenter