


// JavaScript Document


document.write("<div id=qq2 style='Z-INDEX: 10; right: 1px; OVERFLOW: hidden; WIDTH: 352px; POSITION: absolute; TOP: 5px; HEIGHT: 280px'><a href='#' style='padding-left:300px;' onclick='GdmFull_Close()'><strong>关闭</strong></a>");
info =  "<div id='myvideo'></div>"

document.write(info)
document.write("</div>");
function GdmFull_Close(){
document.getElementById('qq2').style.display='none';
var OBJ=document.getElementById('TOMAD_LMT');
if(OBJ)OBJ.style.display='none';
if(OBJ)OBJ.removeNode(true);
}
function $(ni){return document.getElementById(ni);}
///////////浮动可放大广告///
var vj_fa_big_disp = true;//用于判断当前显示的是什么
function closeFloatAd(){
	$('adbanner_right').style.display="none";
}
function closeBig(){
	if (!($("cl_stylebig"))) {clearInterval(fl_l_timer); alert('no big'); return false;}
	$("cl_stylebig").style.display='none';
	vj_fa_big_disp =false;
	$("cl_style").style.display='block';
}
function showBig(){
	if (!($("cl_stylebig"))) {clearInterval(fl_l_timer); alert('no big'); return false;}
	$("cl_stylebig").style.display='block';
	vj_fa_big_disp=true;
	$("cl_style").style.display='none';
	if (arguments[0]){
		if (getMovieObj(arguments[0])){getMovieObj(arguments[0]).play();}//让flash 播放
	}
	//setTimeout("closeBig()",keepTime);取消注释会使大的广告只显示一会儿就自动关闭
}

if ($("cl_stylebig")) {
	$("cl_stylebig").style.left = ((((document.documentElement.clientWidth == 0)?document.body.clientWidth:document.documentElement.clientWidth) -$("cl_stylebig").offsetWidth)/2).toString() + 'px';
	window.onresize = function(){	$("cl_stylebig").style.left = ((document.documentElement.scrollWidth -$("cl_stylebig").offsetWidth)/2).toString() + 'px';};/*自动适应窗口缩放，使放大的窗口居中。*/
	setInterval('gg_fl_l_scb()',100);
}
function gg_fl_l_scb(){
	var vj_cur_top = document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop;
	if(vj_fa_big_disp){
		$("cl_stylebig").style.top=(vj_cur_top+ 80).toString() + 'px';
	}else{
		$("cl_style").style.top=(vj_cur_top + 450).toString() + 'px';
	}
}
///////////浮动广告///

function gg_fl_r2(){
	var vj_cur_top = document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop;
	var vj_cur_height = screen.availHeight;
	$("qq2").style.top=(vj_cur_top + 5).toString() + 'px';
}
if ($("qq2")){ setInterval('gg_fl_r2()',100);}