	function geturl(){
	
		cURL=window.location.href;
		try{
			cURL=cURL.split('#');
			cURL=cURL[1];
			cURL=cURL.split('/');
			cURL=cURL[0];
		}
		catch (e){
			cURL='';
		}
		
		return cURL;
	}
	
	function getid(){
	
		cURL=window.location.href;
		try{
			cURL=cURL.split('#');
			cURL=cURL[1];
			cURL=cURL.split('/');
			cURL=cURL[1];
		}
		catch (e){
			cURL='';
		}
		
		return cURL;
	}
	
	function getid2(id){
	
		cURL=window.location.href;
		try{
			cURL=cURL.split('#');
			cURL=cURL[1];
			cURL=cURL.split('/');
			cURL=cURL[id];
		}
		catch (e){
			cURL='';
		}
		
		return cURL;
	}
	
	
	if(geturl() == "Home"){
		var s_url = "load.php?option=home";
	}else 
		if(geturl() == "Contact"){
		var s_url = "load.php?option=contact";
	}else 
		if(geturl() == "AboutUs"){
		var s_url = "load.php?option=aboutus";
	}else 
		if(geturl() == "Recruitment"){
		var s_url = "load.php?option=tuyendung";
	}else 
		if(geturl() == "Download"){
		var s_url = "load.php?option=download";
	}else 
		if(geturl() == "KhuyenMai"){
		var s_url = "load.php?option=khuyenmai";
	}else
		if(geturl() == "WebDesign"){
			var s_url = "load.php?option=webdesign";
	}else 
		if(geturl() == "News"){
			if(getid() != ""){
				var s_url = "load.php?option=news&start="+getid();
			}else{
				var s_url = "load.php?option=news";
			}
	}else 
		if(geturl() == "NewsDetail"){
			if(getid() != ""){
				var s_url = "load.php?option=news_detail&id="+getid();
			}else{
				var s_url = "error.php";
			}
	}else 
		if(geturl() == "WebPack"){
			if(getid() != ""){
				var s_url = "load.php?option=webpack&id="+getid();
			}else{
				var s_url = "error.php";
			}
	}else 
		if(geturl() == "WebCat"){
			if(getid() != ""){
				var s_url = "load.php?option=webcat&id="+getid();
			}else{
				var s_url = "error.php";
			}
	}else 
		if(geturl() == "FaqCat"){
			if(getid() != ""){
				var s_url = "load.php?option=faqcat&id="+getid()+"&start="+getid2(2);
			}else{
				var s_url = "load.php?option=faqcat&id="+getid();
			}
	}else 
		if(geturl() == "FaqDetail"){
			if(getid2(2) != ""){
				var s_url = "load.php?option=faq_detail&id="+getid2(2);
			}else{
				var s_url = "error.php";
			}
	}else 
		if(geturl() == "Service"){
			if(getid() == "Host"){
				var s_url = "load.php?option=host";
			}
			if(getid() == "Domain"){
				var s_url = "load.php?option=domain";
			}
			if(getid() == "GraphicDesign"){
				var s_url = "load.php?option=graphicdesign";
			}
			if(getid() == "Print"){
				var s_url = "load.php?option=print";
			}
			if(getid() == "Media"){
				var s_url = "load.php?option=media";
			}
			if(getid() == "Trans"){
				var s_url = "load.php?option=trans";
			}
	}else
		if(geturl() == "Order"){
		var s_url = "load.php?option=order";
	}else
		if(geturl() == ""){
		var s_url = "load.php?option=home";
	}else 
		var s_url = "load.php?option=home";