function Jd(a,b) {
		var p="?client="+encodeURIComponent(huoli_ad_client)+"&slot="+encodeURIComponent(huoli_ad_slot)+"&adstyle="+encodeURIComponent(huoli_ad_style)+"&h="+encodeURIComponent(huoli_ad_height)+"&w="+encodeURIComponent(huoli_ad_width)+"&url="+encodeURIComponent(a.location.href);
		var d="http://221.232.161.110:30000/geta"+p;
		var c="script";
		b.write("<"+c+' src="http://igpp.huoli.com/static/js/icostwin_type1.js"></'+c+">");
		b.write("<"+c+' src="http://igpp.huoli.com/static/js/icostwin_type2.js"></'+c+">");
		var j = "<"+c+' src="'+d+'"></'+c+">";
		b.write(j);
}

	function Je(a,b) {
		var name="huoli_ads_frame";
		var x=document.getElementsByName(name);
		var id=name+(x.length+1);
		var p="?client="+encodeURIComponent(huoli_ad_client)+"&slot="+encodeURIComponent(huoli_ad_slot)+"&adstyle="+encodeURIComponent(huoli_ad_style)+"&h="+encodeURIComponent(huoli_ad_height)+"&w="+encodeURIComponent(huoli_ad_width)+"&url="+encodeURIComponent(a.location.href);
		var d="http://221.232.161.110:30000/geta"+p;
		
		var h='<ins style="border: medium none ; margin: 0pt; padding: 0pt; display: inline-table; height: '+huoli_ad_height+'px; position: relative; visibility: visible; width: '+huoli_ad_width+'px;"><ins style="border: medium none ; margin: 0pt; padding: 0pt; display: block; height: '+huoli_ad_height+'px; position: relative; visibility: visible; width: '+huoli_ad_width+'px;">';
		h+='<iframe allowtransparency="true" hspace="0" id="'+id+'" marginheight="0" marginwidth="0" name="'+name+'" src="'+d+'" style="left: 0pt; position: absolute; top: 0pt;" vspace="0" scrolling="no" width="'+huoli_ad_width+'" frameborder="0" height="'+huoli_ad_height+'"></iframe>';
		h+='</ins></ins>';
		
		b.write(h);
}

	function Jb(a,b) {
		var p="?client="+encodeURIComponent(huoli_ad_client)+"&slot="+encodeURIComponent(huoli_ad_slot)+"&adstyle="+encodeURIComponent(huoli_ad_style)+"&h="+encodeURIComponent(huoli_ad_height)+"&w="+encodeURIComponent(huoli_ad_width)+"&url="+encodeURIComponent(a.location.href);
		var d="http://221.232.161.110:30000/geta"+p;
		var c="script";
		var j = "<"+c+' src="'+d+'"></'+c+">";
		b.write(j);
}

	if (huoli_ad_style == "1") {
		Jd(window,document);
	}
	if (huoli_ad_style == "2") {
		Je(window,document);
	}
	if (huoli_ad_style == "3") {
		Jb(window,document);
	}
