// JavaScript Document
	function ReLocate()
	{
		// Declare Locate
		var vtoolbar;
		if (document.all) 
		{
		 //IE 
			vtoolbar = document.all.Toolbar.style;
		} 
		else 
			if (document.layers) 
			{ //NS 
				vtoolbar = document.layers.Toolbar;
			} 
			else 
				if (document.getElementById) 
				{ //Netscape 6 
					vtoolbar = document.getElementById("Toolbar").style;
					document.getElementById("m1").style.height = 0 + 'px';
				}
				else 
				{ 
					alert("Not find brower"); 
				}
		
		vtoolbar.top = 7 + 'px'; 
		vtoolbar.left = (document.getElementById("tMain").offsetLeft + 12) + 'px';

		// Declare Size
		var ToolBarHeight  = 0;
		
		// var set value
		ToolBarHeight = document.getElementById("tMain").clientHeight;
		
		var vDiff  = 6;
		// set div height
		document.getElementById("Toolbar").style.height = ToolBarHeight + 'px';
		document.getElementById("ToolbarMain").style.height = (ToolBarHeight - vDiff) + 'px';
		document.getElementById("tb_main").style.height = (ToolBarHeight - 7 - vDiff) + 'px';
		document.getElementById("td_shadow").style.height = (ToolBarHeight - 7 - vDiff) + 'px';

		if(ToolBarHeight - 7 - 594 - vDiff > 0)
			document.getElementById("tb_md").style.height = (ToolBarHeight - 7 - 594 - vDiff - 8) + 'px';	// compute value
		else
			document.getElementById("tb_md").style.height = 1 + 'px';	// compute value
		if(ToolBarHeight - 7 - 279 - vDiff > 0)
			document.getElementById("td_sd").style.height = (ToolBarHeight - 7 - 279 - vDiff) + 'px';	// compute value
		else
			document.getElementById("td_sd").style.height = 1 + 'px';	// compute value
			
	}
	
	function SendMailList()
	{
		if((document.getElementById("mailaddress").value.indexOf("@")==-1)&&
			(document.getElementById("mailaddress").value.indexOf(".")==-1))
			alert("Please input a availably Email");
		else
			{
				personalSendMailList();
			}
	}
	
	function menuLocation(menuid)
	{
		switch(menuid)
		{
		case 1:
			window.location = "index.html";
			break;
		case 2:
			window.location = "product.html";
			break;
		case 3:
			window.location = "screenshot.html";
			break;
		case 4:
			window.location = "download.html";
			break;
		case 5:
			window.location = "buynow.html";
			break;
		case 6:
			window.location = "support.html";
			break;			
		case 7:
			window.location = "msgboard.html";
			break;
		case 8:
			window.location = "about.html";
			break;
		default:
		}
	}
	
	function LocateLoading()
	{
		var vloadbar;
		if (document.all) 
		{
		 //IE 
			vloadbar = document.all.DivTitle.style;
		} 
		else 
			if (document.layers) 
			{ //NS 
				vloadbar = document.layers.DivTitle;
			} 
			else 
				if (document.getElementById) 
				{ //Netscape 6 
					vloadbar = document.getElementById("DivTitle").style;
				}
				else 
				{ 
					alert("Not find brower"); 
				}
				
		vloadbar.top = 200 + 'px'; 
		vloadbar.left = (document.getElementById("tMain").offsetLeft + 80) + 'px';
			
	}
	
	function HideLoading()
	{
			document.getElementById("DivTitle").style.visibility = 'hidden';
	}
