document.writeln(""); document.writeln("var aplus_random = Math.random();"); document.writeln("if (aplus_random < 0) {"); document.writeln("document.writeln(\"\");"); document.writeln("document.writeln(\" var aplus_cachebuster = Math.floor(Math.random()*10000000000000000);\");"); document.writeln("document.writeln(\" var aplus_selector = null;\");"); document.writeln("document.writeln(\" var aplus_placementid = 7633362;\");"); document.writeln("document.writeln(\" var aplus_allow_referrer = true;\");"); document.writeln("document.writeln(\" var aplus_allow_clickurl = true;\");"); document.writeln("document.writeln(\" var aplus_allow_skin = false;\");"); document.writeln("document.writeln(\" var aplus_position= 'unknown';\");"); document.writeln("document.writeln(\" var aplus_base_url_prefix=\\\"<\\\\/sc\"+\"ript>\\\";\");"); document.writeln("document.writeln(\" \");"); document.writeln("document.writeln(\" var aplus_code = aplus_base_url_prefix + aplus_placementid + \\\"&cb=\\\" + aplus_cachebuster;\");"); document.writeln("document.writeln(\" if(aplus_allow_skin)\");"); document.writeln("document.writeln(\" aplus_code += \\\"&promo_sizes=1x1\\\";\");"); document.writeln("document.writeln(\" \");"); document.writeln("document.writeln(\" if((typeof aplus_referrer != 'undefined') && aplus_allow_referrer)\");"); document.writeln("document.writeln(\" aplus_code += \\\"&referrer=\\\" + aplus_referrer;\");"); document.writeln("document.writeln(\" if((typeof aplus_clickurl != 'undefined') && aplus_allow_clickurl)\");"); document.writeln("document.writeln(\" aplus_code += \\\"&pubclickenc=\\\" + encodeURIComponent(aplus_clickurl);\");"); document.writeln("document.writeln(\" if(aplus_position === 'above' || aplus_position === 'below')\");"); document.writeln("document.writeln(\" aplus_code += \\\"&position=\\\" + aplus_position;\");"); document.writeln("document.writeln(\" if (typeof aplus_passback != 'undefined')\");"); document.writeln("document.writeln(\" aplus_code += \\\"&pt1=\\\" + encodeURIComponent(aplus_passback);\");"); document.writeln("document.writeln(\" if (typeof aplus_data != 'undefined') {\");"); document.writeln("document.writeln(\" for (var akey in aplus_data) {\");"); document.writeln("document.writeln(\" aplus_code += \\\"&\\\" + encodeURIComponent(akey) + \\\"=\\\" + encodeURIComponent(aplus_data[akey]);\");"); document.writeln("document.writeln(\" }\");"); document.writeln("document.writeln(\" }\");"); document.writeln("document.writeln(\" aplus_code += aplus_base_url_postfix;\");"); document.writeln("document.writeln(\" document.write(aplus_code);\");"); 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(\\\" var aplus_cachebuster = Math.floor(Math.random()*10000000000000000);\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_selector = null;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_placementid = 7633362;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_allow_referrer = true;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_allow_clickurl = true;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_normal_size= '300x250';\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_extra_sizes= '';\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_allow_skin = false;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_position= 'middle1';\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_base_url_prefix=\\\\\\\"<\\\\\\\\/sc\"+\"ript>\\\\\\\";\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" \\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" var aplus_code = aplus_base_url_prefix + aplus_placementid + \\\\\\\"&cb=\\\\\\\" + aplus_cachebuster;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if(aplus_extra_sizes && aplus_extra_sizes!=\\\\\\\"\\\\\\\"){\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&size=\\\\\\\"+aplus_normal_size;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" \\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&promo_sizes=\\\\\\\";\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if(aplus_allow_skin){\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"1x1,\\\\\\\";\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" }\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += aplus_extra_sizes;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" } else if(aplus_allow_skin){\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&promo_sizes=1x1\\\\\\\";\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" }\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" \\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if((typeof aplus_referrer != 'undefined') && aplus_allow_referrer)\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&referrer=\\\\\\\" + aplus_referrer;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if((typeof aplus_clickurl != 'undefined') && aplus_allow_clickurl)\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&pubclickenc=\\\\\\\" + encodeURIComponent(aplus_clickurl);\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if(aplus_position === 'above' || aplus_position === 'below')\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&position=\\\\\\\" + aplus_position;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if (typeof aplus_passback != 'undefined')\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&pt1=\\\\\\\" + encodeURIComponent(aplus_passback);\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" if (typeof aplus_data != 'undefined') {\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" for (var akey in aplus_data) {\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += \\\\\\\"&\\\\\\\" + encodeURIComponent(akey) + \\\\\\\"=\\\\\\\" + encodeURIComponent(aplus_data[akey]);\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" }\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" }\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\"\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" aplus_code += aplus_base_url_postfix;\\\");\");"); document.writeln("document.writeln(\"document.writeln(\\\" document.write(aplus_code);\\\");\");"); 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(\"rp_account = '13258';\");"); document.writeln("document.writeln(\"rp_site = '97274';\");"); document.writeln("document.writeln(\"rp_zonesize = '456568-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("");