function MoveToPage(PageNumber,PagingPageName,filterUser)
{
	location = PagingPageName+"?iCurrentPage=" + PageNumber + "&FILTER_USER=" + filterUser;
}

function showImage(url,title,x,y)
{
	window.open(url,title,"height="+y+"px,width="+x+"px,location=no,scrollbars=yes,titlebar=no,menubars=no,toolbars=no,resizable=yes,margin=0");
}			
function palyVideo(file_fool_path,song_name,album_pic)
{								
	var the_url;
	var the_title;
	the_url= 'site/includes/play.asp?file_fool_path=' + file_fool_path + '&song_name=' + song_name + '&album_pic=' + album_pic ;
	the_title = song_name;
	
	window.open(the_url,null,"height=350px,width=350px,location=no,scrollbars=no,titlebar=no,menubars=no,toolbars=no,resizable=no,margin=0");
}

function popup(url,title,x,y)
{
  win_x=x+40;
  win_y=y+40;
  w = window.open(url, title, "height="+win_y+"px,width="+win_x+"px,location=no,scrollbars=yes,titlebar=no,menubars=no,toolbars=no,resizable=yes,margin=0");
}

function showBan(divName,width,height,wmode,src,bgcolor) 
{
	var d=document.getElementById(divName);
	d.innerHTML='<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0  WIDTH='+width+' HEIGHT='+height+'>'+wmode+'<PARAM NAME=movie VALUE="'+src+'"><PARAM NAME=quality VALUE=high><param name=bgcolor value="'+bgcolor+'"><EMBED src="'+src+'" quality=high WIDTH='+width+' HEIGHT='+height+' bgcolor="'+bgcolor+'" TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED></OBJECT>';
}

/*
##########################################
#######  menu  ##########
##########################################
*/
navHover = function() {
	var lis = document.getElementById("navmenu-h").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);

