			function MM_reloadPage(init) {  //reloads the window if Nav4 resized
 			 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
   			 document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  			else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
			}
			MM_reloadPage(true);

			function MM_findObj(n, d) { //v4.01
 			 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 && d.getElementById) x=d.getElementById(n); return x;
			}

			function MM_showHideLayers() { //v6.0
  				var i,p,v,obj,args=MM_showHideLayers.arguments;
  				for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    				if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    			obj.visibility=v; }
			}
/**-------------------------**/
window.onload = window.onscroll;
window.onscroll = function() {
	var ydmm = document.getElementById("ydmm");
	var zxkf = document.getElementById("zxkf");
	ydmm.style.top = document.body.clientHeight - parseInt(ydmm.style.height) + document.body.scrollTop-450;
	zxkf.style.top = document.body.clientHeight - parseInt(zxkf.style.height) + document.body.scrollTop;
}
function hiddenDiv() {
	var zxkf = document.getElementById("zxkf");
	zxkf.style.display = "none";
}
function hiddenDiv2() {
	var ydmm = document.getElementById("ydmm");
	ydmm.style.display = "none";
}
/**-------------------------------------------------------**/		
		function mover(obj) {
			obj.style.backgroundColor= "#E6F6F6";
		}
		function mout(obj) {
		obj.style.backgroundColor= "";
		}
		var mpTab = "null";
		var mpTabContent = "null";
		function changtabcs(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
		
			if (mpTab != "null") {
				mpTab.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
			mpTab = obj;
			obj.style.background = "url('images/skin_m_a.gif') no-repeat";
		
			var content = document.getElementById(content_id);
			if (mpTabContent != "null") {
				mpTabContent.style.display = "none";
			}
			mpTabContent = content;
			content.style.display = "";
		}
		var mpTab1="null";
		var mpTabContent2 = "null";
		function changtabcs2(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
		
			if (mpTab1 != "null") {
				mpTab1.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
			mpTab1 = obj;
			obj.style.background = "url('images/skin_m_a.gif') no-repeat";
		
			var content = document.getElementById(content_id);
			if (mpTabContent2 != "null") {
				mpTabContent2.style.display = "none";
			}
			mpTabContent2 = content;
			content.style.display = "";
		}
		var mpTab3="null";
		var mpTabContent3 = "null";
		function changtabcs3(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
		
			if (mpTab3 != "null") {
				mpTab3.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
			mpTab3 = obj;
			obj.style.background = "url('images/skin_m_a.gif') no-repeat";
		
			var content = document.getElementById(content_id);
			if (mpTabContent3 != "null") {
				mpTabContent3.style.display = "none";
			}
			mpTabContent3 = content;
			content.style.display = "";
		}
		var mpTab4="null";
		var mpTabContent4 = "null";
		function changtabcs4(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
		
			if (mpTab4 != "null") {
				mpTab4.style.background = "url('images/skin_m_b.gif') no-repeat";
			}
			mpTab4 = obj;
			obj.style.background = "url('images/skin_m_a.gif') no-repeat";
		
			var content = document.getElementById(content_id);
			if (mpTabContent4 != "null") {
				mpTabContent4.style.display = "none";
			}
			mpTabContent4 = content;
			content.style.display = "";
		}
		var mpTab5="null";
		mpTabContent5="null";
		function changrpcss(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_r_a.gif') no-repeat";
			}
		
			if (mpTab5 != "null") {
				mpTab5.style.background = "url('images/skin_r_a.gif') no-repeat";
			}
			mpTab5 = obj;
			obj.style.background = "url('images/skin_r_c.gif') no-repeat";
		
			var content = document.getElementById(content_id);
			if (mpTabContent5 != "null") {
				mpTabContent5.style.display = "none";
			}
			mpTabContent5 = content;
			content.style.display = "";
		}
		var rpTab2="null";
		var rpTabContent2="null";
		function changrpcss2(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_r_b.gif') no-repeat";
			}
		
			if (rpTab2 != "null") {
				rpTab2.style.background = "url('images/skin_r_b.gif') no-repeat";
			}
			rpTab2 = obj;
			obj.style.background = "url('images/skin_r_d.gif') no-repeat";
			var content = document.getElementById(content_id);
			if (rpTabContent2 != "null") {
				rpTabContent2.style.display = "none";
			}
			rpTabContent2 = content;
			content.style.display = "";
		}
		
		var lpTab="null";
		var lpTabContent="null";
		function changlpcss(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_l_a.gif') no-repeat";
			}
			if (lpTab != "null") {
				lpTab.style.background = "url('images/skin_l_a.gif') no-repeat";
			}
			lpTab = obj;
			obj.style.background = "url('images/skin_l_b.gif') no-repeat";
			var content = document.getElementById(content_id);
			if (lpTabContent != "null") {
				lpTabContent.style.display = "none";
			}
			lpTabContent = content;
			content.style.display = "";
		}
		var lpTab2="null";
		var lpTabContent2="null";
		function changlpcss2(obj,content_id,default_id){
			if (obj.id == "") {
				var default_obj = document.getElementById(default_id);
				default_obj.style.background = "url('images/skin_l_a.gif') no-repeat";
			}
			if (lpTab2 != "null") {
				lpTab2.style.background = "url('images/skin_l_a.gif') no-repeat";
			}
			lpTab2 = obj;
			obj.style.background = "url('images/skin_l_b.gif') no-repeat";
			var content = document.getElementById(content_id);
			if (lpTabContent2 != "null") {
				lpTabContent2.style.display = "none";
			}
			lpTabContent2 = content;
			content.style.display = "";
		}
		
		function validateCode(str_0,str_1,str_2,str_3) {
			var Seed_array = new Array();
			var seedary;
			var i;
	
			Seed_array[0] = "";
			Seed_array[1] = "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z";
			Seed_array[2] = "a b c d e f g h i j k l m n o p q r s t u v w x y z";
			Seed_array[3] = "0 1 2 3 4 5 6 7 8 9";
	
			if (!str_1&&!str_2&&!str_3) {
				str_1 = true;
				str_2 = true;
				str_3 = true;
			}
			if (str_1) {
				Seed_array[0] += Seed_array[1];
			}
			if (str_2) {
				Seed_array[0] += " " + Seed_array[2];
			}
			if (str_3) {
				Seed_array[0] += " " + Seed_array[3];
			}
	
				Seed_array[0] = Seed_array[0].split(" ");
	
				seedary = "";
			for (i = 0; i < str_0; i++) {
				seedary += Seed_array[0][Math.round(Math.random() * (Seed_array[0].length - 1))] + " ";
			}	
			return(seedary);
		}
		function getVC() {
			var vc = document.getElementById("vc");
			if (vc != null) {
				vc.innerText = validateCode(4,true,true,true);
			}
		}
		function replaceSpace(s) {
			var reg = /\s/g;
			return s.replace(reg, "");
		}
		
		function $(id) {
			return document.getElementById(id);
		}
		function changhid() {
			var zul1= document.all("zutdid");
			var zul2 = $("zul2");
			var child_obj = zul2.childNodes;
			var dw = 270;
			var w = zul1.offsetWidth;
			if (w>dw) {
				for (var i=0; i<child_obj.length; i++) {
					if(child_obj[i].className == "li1") {
						child_obj[i].className = "li2";
						child_obj[i].innerHTML+="..."
					}
				}
			}
		}
		function init(){
			mpTabContent=document.getElementById("ul1");
			mpTabContent2=document.getElementById("pul1");
			mpTabContent3=document.getElementById("sul1");
			mpTabContent4=document.getElementById("cul1");
			mpTabContent5=document.getElementById("zul1");
			
			rpTabContent2=document.getElementById("r2_ul1");
			
			lpTabContent=document.getElementById("l1_ul1");
			lpTabContent2=document.getElementById("ul_l1");
			getVC();
		}
		function openWindow(url) {
			var iHeight = 600;
			var iWidth = 900;
			var iTop = (window.screen.availHeight-30-iHeight) / 2;
  			var iLeft = (window.screen.availWidth-10-iWidth) / 2;
			var name = "newWindow";
			var attribute = "height="+iHeight+", width="+iWidth+", top="+iTop+", left="+iLeft+", toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no";
			
			window.open(url, name, attribute);
		}
