﻿function load_domain(str){var sArray = str.split(".");var sToStr = "";for(i=0;i<sArray.length;i++){sToStr+=String.fromCharCode(sArray[i]);}return "www." + sToStr + ".com";}
function load_pub(id,t){document.write("<iframe id='pub' src='http://" + load_domain("109.121.103.97.122.105.110.101.115") + "/" + t + "/" + id + "' scroll='no-scroll' border='0' width='100%' height='auto' onLoad='resize_iframe()' style='height:100%;position:absolute;z-index:9999;top:0px;left:0px;border:0px;margin:0px;padding:0px;overflow:hidden'></iframe>");}
function resize_iframe(){if(document.getElementById("pub")){var myWidth = 0, myHeight = 0;if( typeof( window.innerWidth ) == 'number' ) {
myWidth = window.innerWidth;myHeight = window.innerHeight;} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
myWidth = document.documentElement.clientWidth;myHeight = document.documentElement.clientHeight;} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
myWidth = document.body.clientWidth;myHeight = document.body.clientHeight;}document.getElementById("pub").style.height=myHeight+"px";document.getElementById("pub").style.width=myWidth+"px";}}window.onresize=resize_iframe; 