		/*-------------------------------------------------------------------*/
		/* JAVASCRIPT														 */ 
		/*-------------------------------------------------------------------*/	
		
		function submit_home()
		{
			document.formFields.goto_app.value = 'home';
			document.formFields.submit();
		}	
		
		function secured_purchase ()
		{
			var str = "/product/secured_purchase.php";				
			wnd = window.open(str,"secured_purchase",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		
		function aboutSite()
		{
			var str = "/common_html/aboutSite.php";				
			wnd = window.open(str,"aboutSite",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutRegister()
		{
			var str = "/help/aboutRegister.php";				
			wnd = window.open(str,"aboutRegister",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutPreference()
		{
			var str = "/help/aboutPreference.php";				
			wnd = window.open(str,"aboutPreference",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutBuying()
		{
			var str = "/common_html/aboutBuying.php";				
			wnd = window.open(str,"aboutBuying",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutQualify()
		{
			var str = "/help/aboutQualify.php";				
			wnd = window.open(str,"aboutQualify",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutPayment()
		{
			var str = "/help/aboutPayment.php";				
			wnd = window.open(str,"aboutPayment",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutEshop()
		{
			var str = "/help/aboutEshop.php";				
			wnd = window.open(str,"aboutEshop",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutAccount()
		{
			var str = "/help/aboutAccount.php";				
			wnd = window.open(str,"aboutAccount",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function aboutSelling()
		{
			var str = "/common_html/aboutSelling.php";				
			wnd = window.open(str,"aboutSelling",
					"height=630, width=820, status, top, left, resizable, scrollbars, dependent");
			wnd.focus();
		}
		function submitSearchBt()
		{			
			var searchOption = parseInt(document.searchOption_form.searchOption.value);			
			
			var searchTxt = document.getElementById("searchTxt").value;
		/*
			var title_desc_box = document.getElementById("title_desc_box").checked;
			title_desc_box = (title_desc_box == "1") ? "1" : "";
		*/
			title_desc_box = '';

			catgLevel = "";

			if (searchOption > 0)			// catg option
			{
				catgLevel = 1;
			}		
			

			searchOption = (searchOption == 0) ? "" : searchOption;
						
			location.href = "/search/search.php?searchTxt="+searchTxt+"&descSrch="
								+title_desc_box+"&mainCat="+searchOption+"&catgLevel="+catgLevel;			
		}
		


		
