// JavaScript Document
 <!--

function newwin(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->


document.write("<div id=qq style='Z-INDEX: 10; LEFT: 1px; OVERFLOW: hidden; WIDTH: 105px; POSITION: absolute; TOP: 100px; HEIGHT: 80px'><table width=\"105\" border=\"0\" style=\"border:1px #093 solid;\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"><tr><td><img src=images/qq_up.jpg></td></tr><tr><td>");
document.write("<img border=0 SRC=http://wpa.qq.com/pa?p=1:876095470:4 alt=点击这里给我发消息 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=876095470&Site=[亚臣家政]&Menu=no' title='亚臣家政'>在线沟通</a>");
document.write("</td></tr><tr><td><img src=images/qq_down.jpg></td></tr></table></div>");
document.write("<div id=qq2 style='Z-INDEX: 10;right: 1px; OVERFLOW: hidden; WIDTH: 105px; POSITION: absolute; TOP: 100px; HEIGHT: 80px'><table width=\"105\" border=\"0\" style=\"border:1px #093 solid;\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"><tr><td><img src=images/qq_up.jpg></td></tr><tr><td>");
document.write("<img border=0 SRC=http://wpa.qq.com/pa?p=1:876095470:4 alt=点击这里给我发消息 align=middle>&nbsp;&nbsp;<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=876095470&Site=[亚臣家政]&Menu=no' title='亚臣家政'>在线沟通</a>");
document.write("</td></tr><tr><td><img src=images/qq_down.jpg></td></tr></table></div>");



function $(ni){return document.getElementById(ni);}
///////////浮动可放大广告///
var vj_fa_big_disp = true;//用于判断当前显示的是什么
function closeFloatAd(){
	$('adbanner_left').style.display="none";
	$('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_r(){
	var vj_cur_top = document.body.scrollTop?document.body.scrollTop:document.documentElement.scrollTop;
	var vj_cur_height = screen.availHeight;
	$("qq").style.top=(vj_cur_top + 250).toString() + 'px';
}
if ($("qq")){ setInterval('gg_fl_r()',100);}


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 + 250).toString() + 'px';
}
if ($("qq2")){ setInterval('gg_fl_r2()',100);}