function showalibabagamebanner(){
var toshow="";
toshow=toshow+'<a href="http://www.i3.com.cn/Register.aspx?c=tg12" target="_blank"><img src="http://www.alai.net/tg12.jpg" border="0" /></a>';
document.write(toshow);
}



function showad(tw,th){
	var toshow='';
	toshow=toshow+'<iframe src="http://www.alai.net/adpages/'+tw+''+th+'.php" frameborder="0" align="center" width="'+tw+'" height="'+th+'" scrolling="no" allowTransparency="true"></iframe>';
	document.write(toshow);
}


function showmode(){
var toshow="";
toshow=toshow+' \n';
document.write(toshow);
}

 

function showgg72890(){showgg('09-6-27','0715861528','728','90');}
function showgg72890bai(){showgg('08-12-16','0377971616','728','90');}
function showgg72890txt(){showgg('10-10-19','8665152077','728','90');}
function showgg200200(){showgg('08-8-19','7161161252','200','200');}
function showgg336280(){showgg('08-6-12','9786221590','336','280');}
function showgg18090(){showgg('10-10-7','5745055199','180','90');}
function showgg250250(){showgg('08-6-30','0374525213','250','250');}
function showgg250250bai(){showgg('08-6-11','8341882805','250','250');}
function showgg160600(){showgg('10-8-29','8540095264','160','600');}
function showgg46860(){showgg('09-6-27','2211006769','468','60');}
function showgg23460(){showgg('08-6-30','6938573757','234','60');}
function showgg72815(){showgg('08-12-16','4574039193','728','15');}
function showgg72815lan(){showgg('08-6-15','5244345097','728','15');}
function showgg72815lan2(){showgg('09-6-27','8199243607','728','15');}
function showgg46815(){showgg('08-6-12','2782339694','468','15');}
function showgg46815lan(){showgg('08-10-10','7149428808','468','15');}
function showgg46815lan2(){showgg('08-1-24','4849420787','468','15');}


function showbaidu(w,h,cpid,datestr){
	var toshow="";
	toshow=toshow+'<script type="text/javascript">/*'+w+'*'+h+'，创建于'+datestr+'*/ var cpro_id = \''+cpid+'\';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>\n';
	document.write(toshow);
}

function showsoualink(iw,ih,dn){
var toshow="";
toshow=toshow+'<script type=\'text/javascript\'>\n';
toshow=toshow+'var sogou_param = new Array();\n';
toshow=toshow+'sogou_param["pid"]  = \'cnrencom\';\n';
toshow=toshow+'sogou_param["ct"]  = \'kwd\';\n';
toshow=toshow+'sogou_param["fmt"]  = \'h_kwd\';\n';
toshow=toshow+'sogou_param["dn"]  = \''+dn+'\';\n';
toshow=toshow+'sogou_param["iw"]   = \''+iw+'\';\n';
toshow=toshow+'sogou_param["ih"]   = \''+ih+'\';\n';
toshow=toshow+'sogou_param["fs"] = \'12\';\n';
toshow=toshow+'sogou_param["c_bo"] = \'rgb(230, 230, 230)\';\n';
toshow=toshow+'sogou_param["c_bg"] = \'rgb(255, 255, 255)\';\n';
toshow=toshow+'sogou_param["c_fg"] = \'rgb(9, 9, 247)\';\n';
toshow=toshow+'sogou_param["tdw"] = \'\';\n';
toshow=toshow+'sogou_param["charset"] = \'gb2312\';\n';
toshow=toshow+'</script>\n';
toshow=toshow+'<script language=\'JavaScript\' type=\'text/javascript\' src=\'http://images.sohu.com/cs/jsfile/js/lu.js\'></script>\n';

document.write(toshow);
}


function showgg(datestr,slotstr,w,h){
var toshow="";
toshow=toshow+'<script type="text/javascript"><!--\n';
toshow=toshow+'google_ad_client = "pub-9374929707404318";\n';
toshow=toshow+'/* '+w+'x'+h+', 创建于 '+datestr+' */\n';
toshow=toshow+'google_ad_slot = "'+slotstr+'";\n';
toshow=toshow+'google_ad_width = '+w+';\n';
toshow=toshow+'google_ad_height = '+h+';\n';
toshow=toshow+'//-->\n';
toshow=toshow+'</script>\n';
toshow=toshow+'<script type="text/javascript"\n';
toshow=toshow+'src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\n';
toshow=toshow+'</script>\n';

document.write(toshow);
}


function richmediaad(){ //创速 富媒体广告
	var toshow="";
	toshow=toshow+'<script language="javascript" src="http://code.37cs.com/rich/fl.php?uid=3868&pid=855"></script> \n';
	document.write(toshow);
	
}

function ad_gamefoot(){
	showgg72890();
}

function showbaidusearch(){
	var toshow="";
	toshow=toshow+'<iframe id="baiduframe" marginwidth="0" marginheight="0" scrolling="no"\n';
	toshow=toshow+' framespacing="0" vspace="0" hspace="0" frameborder="0" width="468" height="60" style="border:1px solid #1ABDE6"\n';
	toshow=toshow+' src="http://unstat.baidu.com/bdun.bsc?tn=alai&cv=0&cid=260753&csid=106&bgcr=ffffff&urlcr=0000ff&tbsz=230&sropls=1,2,4,6,7,9,11,12,16,17&defid=2&kwgp=0">\n';
	toshow=toshow+'</iframe>\n';
	document.write(toshow);
}

function ad_gamebanner(){
	showbaidusearch();
}

function ad_game_for_jhylw(){
	//var toshow="";
	//toshow="<a href='http://www.alai.net/app/index.php/Index/redirect/id/1/' target='_blank'><img border='0' src='/game/Common/1.jpg' /></a>";
	//document.write(toshow);
	showgg46860();
}

function ad_gamemjsearchright(){
	//document.write('<span class="gameads"></span>');
	//showtkgamechongzhi();
	showgg250250();
	
}
function gameadlistleft(){
	showtkgamechongzhi();
	showgg250250();
}


function showtkgamechongzhi(){
	//http://chongzhi.huoban.taobao.com/mobile_card.php?cat=150401&reserve_price=100&location=%B1%B1%BE%A9&show=yes&css=new_vertical&pid=mm_14549863_0_0&unid=
	var toshow='<div class="gamecz"><span id="gamecztitle"></span><iframe src="http://chongzhi.huoban.taobao.com/game_card.php?pid=mm_10002413_0_0" frameborder="0" align="center" width="180" height="115" scrolling="no" allowTransparency="true" style="margin:8px auto;"></iframe></div>';
	document.write(toshow);

}

function elongtxt(){
	var toshow="";
	toshow=toshow+'<a href="http://travel.elong.com/flight/index_cn.html?campaign_id=2000000000522937553" target="_blank">飞机航班查询</a> <a href="http://travel.elong.com/hotel/index_cn.html?campaign_id=2000000000522937553" target="_blank">经济酒店查询</a>';
	document.write(toshow);
}

function chongzhi(){
	var toshow='<iframe src="http://chongzhi.huoban.taobao.com/mobile_card.php?show=yes&css=new_vertical&pid=mm_10002413_0_0" frameborder="0" align="center" width="180" height="140" scrolling="no" allowTransparency="true" style="margin:8px auto;"></iframe>';
	document.write(toshow);

}


function goalaiso(subject){

	var subjectde=unescape(subject);
	if(subjectde.indexOf('http')!=-1){
		//alert(subjectde.indexOf('+'));
		subjectde=subjectde.replace(/\+/g,"/");
		//alert(subjectde.indexOf('+'));
		window.open(subjectde);
	}else{
		window.open("http://so.alai.net/Index/index/kd/"+subject+"/");
	}
}

