/*---------------------------------------------------------------
Ìæ»»×Ö·û´®Myreplace(È«²¿µÄ×Ö·û´®,Òª»»µÄ×Ö·û´®,ÐÂ×Ö·û´®)
------------------------------------------------------------------*/
function Myreplace(all_str,old_str,new_str){
   var all_str = ""+all_str;   
   var re = eval("/"+old_str+"/g");           
   var r = all_str.replace(re, new_str);    
   return(r);                   
}

function J(Page){
  document.form1_Jumps.Gu_page.value=Page;
  document.form1_Jumps.submit();
}
function ShowMobileForm(img){
       var oSon=window.document.getElementById("hint");
	   var Ochildren=window.document.getElementById("ShwMemo");
       log_out();
       with (oSon) {
            style.display="block";			
	        var x=(document.body.clientWidth-600)/2
			var y=(window.screen.height-526)/2
	        style.pixelLeft=x;
	        style.pixelTop=y;
		} 
		Ochildren.innerHTML="<img src="+img+" title='close' style='cursor:hand;' onclick='log_out2();'>";
}
function log_out()
{
  ht = document.getElementsByTagName("body");
  ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
}
function log_out2()
{
  ht = document.getElementsByTagName("body");
  ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=0)";
  var oSon=window.document.getElementById("hint");
  oSon.style.display="none";
}