document.writeln(""); document.writeln("var aplus_random = Math.random();"); document.writeln("if (aplus_random < 1) {"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"document.write('');\");"); document.writeln("document.writeln(\" document.write('var aplus_cachebuster = Math.floor(Math.random()*10000000000000000);');\");"); document.writeln("document.writeln(\" document.write('var aplus_selector = null;');\");"); document.writeln("document.writeln(\" document.write('var aplus_placementid = 4336349;');\");"); document.writeln("document.writeln(\" document.write('var aplus_allow_referrer = true;');\");"); document.writeln("document.writeln(\" document.write('var aplus_allow_clickurl = true;');\");"); document.writeln("document.writeln(\" document.write('var aplus_position= \\\"unknown\\\";');\");"); document.writeln("document.writeln(\" document.write('var aplus_base_url_prefix=\\\"<\\\\\\\\/sc\"+\"ript>\\\";');\");"); document.writeln("document.writeln(\" document.write('var aplus_code = aplus_base_url_prefix + aplus_placementid + \\\"&cb=\\\" + aplus_cachebuster;');\");"); document.writeln("document.writeln(\" document.write('if(typeof crtg_content != \\\"undefined\\\")');\");"); document.writeln("document.writeln(\" document.write(' aplus_code += \\\"&\\\" + crtg_content;');\");"); document.writeln("document.writeln(\" document.write('if(typeof admantxvar != \\\"undefined\\\"){');\");"); document.writeln("document.writeln(\" document.write(' console.log(\\\"admantxvar: \\\" + admantxvar);');\");"); document.writeln("document.writeln(\" document.write(' aplus_code +=\\\"&\\\" + admantxvar;');\");"); document.writeln("document.writeln(\" document.write(' }');\");"); document.writeln("document.writeln(\" \");"); document.writeln("document.writeln(\" document.write('if((typeof aplus_referrer != \\\"undefined\\\") && aplus_allow_referrer)');\");"); document.writeln("document.writeln(\" document.write(' aplus_code += \\\"&referrer=\\\" + aplus_referrer;');\");"); document.writeln("document.writeln(\" document.write('if((typeof aplus_clickurl != \\\"undefined\\\") && aplus_allow_clickurl)');\");"); document.writeln("document.writeln(\" document.write(' aplus_code += \\\"&pubclick=\\\" + aplus_clickurl;');\");"); document.writeln("document.writeln(\" document.write('if(aplus_position === \\\"above\\\" || aplus_position === \\\"below\\\")');\");"); document.writeln("document.writeln(\" document.write(' aplus_code += \\\"&position=\\\" + aplus_position;');\");"); document.writeln("document.writeln(\" \");"); document.writeln("document.writeln(\" document.write('aplus_code += aplus_base_url_postfix;');\");"); document.writeln("document.writeln(\" document.write('document.write(aplus_code);');\");"); document.writeln("document.writeln(\" document.write('');\");"); document.writeln("document.writeln(\"\");"); document.writeln("} "); document.writeln("else {"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"function zodiakAplusPassbackRubicon() {\");"); document.writeln("document.writeln(\" document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"document.write('');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_cachebuster = Math.floor(Math.random()*10000000000000000);');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_selector = null;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_placementid = 4336349;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_allow_referrer = true;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_allow_clickurl = true;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_position= \\\\\\\"unknown\\\\\\\";');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_base_url_prefix=\\\\\\\"<\\\\\\\\\\\\\\\\/sc\"+\"ript>\\\\\\\";');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('var aplus_code = aplus_base_url_prefix + aplus_placementid + \\\\\\\"&cb=\\\\\\\" + aplus_cachebuster;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('if(typeof crtg_content != \\\\\\\"undefined\\\\\\\")');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' aplus_code += \\\\\\\"&\\\\\\\" + crtg_content;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('if(typeof admantxvar != \\\\\\\"undefined\\\\\\\"){');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' console.log(\\\\\\\"admantxvar: \\\\\\\" + admantxvar);');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' aplus_code +=\\\\\\\"&\\\\\\\" + admantxvar;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' }');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" \\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('if((typeof aplus_referrer != \\\\\\\"undefined\\\\\\\") && aplus_allow_referrer)');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' aplus_code += \\\\\\\"&referrer=\\\\\\\" + aplus_referrer;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('if((typeof aplus_clickurl != \\\\\\\"undefined\\\\\\\") && aplus_allow_clickurl)');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' aplus_code += \\\\\\\"&pubclick=\\\\\\\" + aplus_clickurl;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('if(aplus_position === \\\\\\\"above\\\\\\\" || aplus_position === \\\\\\\"below\\\\\\\")');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(' aplus_code += \\\\\\\"&position=\\\\\\\" + aplus_position;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" \\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('aplus_code += aplus_base_url_postfix;');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('document.write(aplus_code);');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write('');\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"}\");"); document.writeln("document.writeln(\"function zodiakAplusCallbackRubicon(response) {\");"); document.writeln("document.writeln(\" if (response.status == \\\"ok\\\") {\");"); document.writeln("document.writeln(\" console.log(\\\"OK\\\");\");"); document.writeln("document.writeln(\" var ad;\");"); document.writeln("document.writeln(\" var html;\");"); document.writeln("document.writeln(\" for (var i=0; i < response.ads.length; i++) {\");"); document.writeln("document.writeln(\" ad = response.ads[i];\");"); document.writeln("document.writeln(\" if (ad.status == \\\"ok\\\") {\");"); document.writeln("document.writeln(\" if (ad.type == \\\"script\\\") {\");"); document.writeln("document.writeln(\" document.write(\\\"\\\"+ad.script+\\\"\\\"); }\");"); document.writeln("document.writeln(\" if (ad.type == \\\"html\\\") {\");"); document.writeln("document.writeln(\" document.write(ad.html);\");"); document.writeln("document.writeln(\" }\");"); document.writeln("document.writeln(\" } else {\");"); document.writeln("document.writeln(\" console.log(\\\"NO-R-AD\\\");\");"); document.writeln("document.writeln(\" zodiakAplusPassbackRubicon();\");"); document.writeln("document.writeln(\" }\");"); document.writeln("document.writeln(\" }\");"); document.writeln("document.writeln(\" } else {\");"); document.writeln("document.writeln(\" console.log(\\\"EX-R-AD\\\");\");"); document.writeln("document.writeln(\" console.log(\\\"s: \\\"+response.status);\");"); document.writeln("document.writeln(\" console.log(\\\"r: \\\"+response.reason);\");"); document.writeln("document.writeln(\" console.log(\\\"e_c: \\\"+response.error_code);\");"); document.writeln("document.writeln(\" zodiakAplusPassbackRubicon();\");"); document.writeln("document.writeln(\" }\");"); document.writeln("document.writeln(\"}\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"rp_account = '13258';\");"); document.writeln("document.writeln(\"rp_site = '70942';\");"); document.writeln("document.writeln(\"rp_zonesize = '404220-15';\");"); document.writeln("document.writeln(\"rp_adtype = 'jsonp';\");"); document.writeln("document.writeln(\"rp_callback = 'zodiakAplusCallbackRubicon';\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\"\");"); document.writeln("} "); document.writeln("");