﻿function setover(id){
if(id=="news")
document.getElementById(id).style.background="url(images/goojjegif.gif) -9px 0px no-repeat ";
else if(id=="web")
document.getElementById(id).style.background="url(images/goojjegif.gif) -9px -45px no-repeat ";
else if(id=="picture")
document.getElementById(id).style.background="url(images/goojjegif.gif) -8px -95px no-repeat ";
else if(id=="music")
document.getElementById(id).style.background="url(images/goojjegif.gif) -8px -138px no-repeat ";
else if(id=="video")
document.getElementById(id).style.background="url(images/goojjegif.gif) -9px -182px no-repeat ";

}
function setout(id){
if(id=="news")
document.getElementById(id).style.background="url(images/goojjegif2.gif) -9px 2px no-repeat ";
else if(id=="web")
document.getElementById(id).style.background="url(images/goojjegif2.gif) -9px -41px no-repeat ";
else if(id=="picture")
document.getElementById(id).style.background="url(images/goojjegif2.gif) -8px -87px no-repeat ";
else if(id=="music")
document.getElementById(id).style.background="url(images/goojjegif2.gif) -8px -130px no-repeat ";
else if(id=="video")
document.getElementById(id).style.background="url(images/goojjegif2.gif) -9px -173px no-repeat ";
}

function sysmenu(){
 	var server1 = new Object();
	server1.menuDiv = document.getElementById("sysmenu");
	server1.menuLink = document.getElementById("sysa");
	server1.display = false;
	server1.clickHandler = function(item) { window.location.href=item.link; };
	server1.items = [{"link":"http://to.goojje.com/space.php?do=mtag&view=hot&fieldid=4&orderby=postnum", "text":"谷姐群吧"}, {"link":"http://zx.goojje.com/", "text":"谷姐资讯"}, {"link":"#", "text":"谷姐百科"},"line",{"link":"#", "text":"全部产品"}];
	popupMenu.createMenu(server1);	
}