function chgSubMenu(id){
	$('.qm-off').attr('class','qm-off');
	$('.qm-on').attr('class','qm-off');
	$('#menu_'+id).attr('class','qm-on');
}
function wintopii66(val)
{
	   if(document.getElementById(val).style.display!="none") 
	   {
			document.getElementById(val).style.display="none";
	   }else
	  {
	   		document.getElementById(val).style.display="";
	   		return;
	   }
}
//document.writeln("<div id='qq_right' style='top:10px;left:0px;POSITION:absolute;Z-INDEX:100;'>");
document.writeln("<table width='100%' border='0' cellspacing='0' cellpadding='0'  id='qq_right' style='top:10px;left:0px;POSITION:absolute;Z-INDEX:100;'>");
document.writeln("<tr>");
document.writeln("<td style=\"background:url("+base_url+"assets/public/images/quickmenu-bg.gif) no-repeat; padding-left:9px;\" height='225'>");
document.writeln("<div class='qm-off' id='menu_10'><a href='"+base_url+"home/order/' onmouseover='chgSubMenu(10);'>网上预订</a></div>");
document.writeln("<div class='qm-on' id='menu_20'><a href='"+base_url+"limesurvey001/index.php?sid=95419&lang=zh-Hans'  target='_blank' onmouseover='chgSubMenu(20);'>网上调查</a></div>");
document.writeln("<div class='qm-off' id='menu_30'><a href='"+base_url+"home/guestbook/' onmouseover='chgSubMenu(30);'>留言板</a></div>");
document.writeln("<div class='qm-off' id='menu_40'><a href='"+base_url+"home/native/6' onmouseover='chgSubMenu(40);'>顾客热线</a></div>");
document.writeln("</td></tr></table>");
//document.writeln("</div>");

//滚动代码开始
function qqshow(){
	if (document.body.offsetWidth >900)
	{
	 document.getElementById("qq_right").style.top=(document.documentElement.scrollTop+10)+"px";
	}
	else
	{
	 document.getElementById("qq_right").style.display="none";
	}
}
function showqq(){
	setTimeout("qqshow();",10);
}
window.onscroll=showqq;
window.onresize=qqshow;
window.onload=qqshow;

function fullScreen(){
 this.moveTo(0,0);
 this.outerWidth=screen.availWidth;
 this.outerHeight=screen.availHeight;
}
window.maximize=fullScreen;

