function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function check_search() {
  if (!document.search.DS.value || search.DS.value == '打上搜尋字句') {
   alert('請輸入搜尋字句');
   return false;
}
   return true;
}

function clearfield(field) {
  if (field.value == field.defaultValue) {
   field.value = '';
}}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function midiplay(what) {
if (document.all) {
document.all.midijuke.src = what.options[what.selectedIndex].value;
}

else {
alert("Sorry, but the Music Menu is only accessible through MSIE4.0 and above.");
}
}

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}

function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=40
}

function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}


function query(url) {
    if (confirm("確定刪除？"))
        location.href = url;;
}
function query2(url) {
    if (confirm("確定置頂？"))
        location.href = url;;
}


<!--

var bV=parseInt(navigator.appVersion);
var NN4u=(document.layers) ? true : false;
var IE4u=((document.all)&&(bV>=4))?true:false;
var moveFlag=false;

var BorderColour="999999"; //外框
var tipfntSize=9; //內容文字大小
var tipBgColour="FFFFFF"; //內容文字底色
var tipTextColour="000000"; //內容文字
var cptfntSize=9; //標題文字大小
var cptBgColour="999999"; //標題底色
var cptTextColour="FFFFFF"; //標題文字
function setReload(){
  window.location.reload()
}

function showTip(title,msg){
  var obj = 'TipBox';
	
  moveFlag=true;
  if(NN4u){
	with (document[obj].document){
	  open();
	  write('<layer ID=TipBox bgColor=#'+tipBgColor+' style="border:1px solid #'+tipBorderColor+'; font-size:'+fntSize+'pt;"><font color=#'+tipTextColor+' lang="big5" face="細明體">'+title+"<br>"+msg+'</font></layer>');
	  close();
	}
    document.layers[obj].visibility = 'visible';
  }else if(IE4u){
	IE_MouseMove();
    document.all[obj].innerHTML = "<table STYLE=\"FILTER:ALPHA(OPACITY=90)\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor="+tipBgColour+"><span style=\"font-size: "+tipfntSize+"pt; color: #"+tipTextColour+"\">"+msg+"</span></td></tr></table>";
;
    document.all[obj].style.visibility = 'visible';
  }
  window.status=msg;
}

function hideTip(){
  var obj = 'TipBox';
	
  moveFlag=false;
  if(NN4u){
    if(document.layers[obj] != null) document.layers[obj].visibility = 'hidden';
  }else if(IE4u)
    document.all[obj].style.visibility = 'hidden';
	window.status="";
}

function IE_MouseMove(){
  if(moveFlag){
	var x = event.x;
	var y = event.y;
	var objp = document.all.TipBox.style;
	var xx = (document.body.scrollLeft+x);
	var yy = (document.body.scrollTop+y);

	objp.pixelLeft = xx+10;
	objp.pixelTop = yy+20;
	if (document.body.scrollWidth - xx-12 > 84){
	objp.pixelWidth =120; //主闊度
	}
	else{
	objp.pixelWidth=document.body.scrollWidth - xx-12;
	}
	
  }
} 

function NN_MouseMove(e){
  if(moveFlag){
	var objp = document.layers.TipBox;
	objp.moveTo(e.x+10, e.y+20);
  }
}

if(IE4u){
  document.write("<DIV ID=TipBox STYLE='position:absolute; visibility: hidden; padding: 0em 0em 0em 0em; border:1px solid #"+BorderColour+";'></DIV>");
  document.onmousemove = IE_MouseMove;
}else{
  document.write("<DIV ID=TipBox STYLE='position:absolute; visibility: hidden; background-color: #ffffff; border:1px solid #"+tipBorderColor+"; font-size: "+fntSize+"pt'></DIV>");
  document.captureEvents(Event.MOUSEMOVE);
  document.onmousemove = NN_MouseMove;
  setTimeout("window.onresize=setReload",500)
}

function hover(id)
{
	if (id == 'new_news')
	{
		img_news.src = 'http://desktopstreet2.net/config/image/title/news2.gif';
		img_upload.src = 'http://desktopstreet2.net/config/image/title/update.gif';

		first_new_news.style.display = 'block';
		second_new_upload.style.display = 'none';
	}

	if (id == 'new_upload')
	{
		img_news.src = 'http://desktopstreet2.net/config/image/title/news.gif';
		img_upload.src = 'http://desktopstreet2.net/config/image/title/update2.gif';

		first_new_news.style.display = 'none';
		second_new_upload.style.display = 'block';
	}

}
function change(cat)
{
	if (cat == 'cat_people')
	{
		people.style.display = 'block';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}

	if (cat == 'cat_traffic')
	{
		people.style.display = 'none';
		traffic.style.display = 'block';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_scenery')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'block';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_animal')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'block';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_anim')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'block';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_game')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'block';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_film')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'block';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_art')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'block';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_adv')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'block';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_sport')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'block';
		military.style.display = 'none';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_military')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'block';
		cscenery.style.display = 'none';
	}
	if (cat == 'cat_cscenery')
	{
		people.style.display = 'none';
		traffic.style.display = 'none';
		scenery.style.display = 'none';
		animal.style.display = 'none';
		anim.style.display = 'none';
		game.style.display = 'none';
		film.style.display = 'none';
		art.style.display = 'none';
		adv.style.display = 'none';
		sport.style.display = 'none';
		military.style.display = 'none';
		cscenery.style.display = 'block';
	}
}
//-->