		/*-------------------------------------------------------------------*/
		/* JAVASCRIPT														 */ 
		/*-------------------------------------------------------------------*/	
		
		function submit_homePage()
		{
			var str = "/infoProhibited/infoProhibited.php";	
			window.open(str,"_blank");
		}
		
			
		function placar_total ()
		{
			var str = "/placar_total/placar_total.php";				
			wnd = window.open(str,"placar_total",
					"height=540, width=580, status, top, left, resizable, noscrollbars, 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 aboutEshop()
		{
			var str = "/help/aboutEshop.php";				
			wnd = window.open(str,"aboutEshop",
					"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 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 aboutCreateEshop()
		{			
			location.href="/eshop/eshop.php";
		}
		function aboutQualify()
		{			
			var str = "/infoQualify/infoQualify.php";	
			window.open(str,"_blank");
		}
		function aboutProhibited()
		{			
			var str = "/infoProhibited/infoProhibited.php";	
			window.open(str,"_blank");
		}
		
		function aboutPagSeguro()
		{			
			//window.open("http://www.brpay.com.br/?ind=407036","_blank");
			window.open("https://pagseguro.uol.com.br/defaultbr.aspx?ind=407036","_blank");
		}
		function aboutPayPal()
		{			
			window.open("https://www.paypal.com/row/mrb/pal=B2FY4PDNG4VKY","_blank");
		}
		function pcComputers_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=2&photo=1";				
		}
		function pcMultimidia_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=4&photo=1";				
		}
		function pcComponents_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=6&photo=1";				
		}
		function pcHardDisk_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=3&photo=1";				
		}
		function pcMonitor_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=8&photo=1";				
		}
		function pcNotebook_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=9&photo=1";				
		}
		function pcPrinters_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=14&subCat1=7&photo=1";				
		}
		
		function mp3Player_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=13&subCat1=13&photo=1";				
		}
		function perfume_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=6&subCat1=4&photo=1";				
		}
		function site_partner()
		{			
			location.href= "/site_partner/site_partner.php";				
		}
		function aboutSkype()
		{			
			window.open("http://www.skype.com/intl/pt/helloagain.html","_blank");			
		}
		function aboutGoogle_video()
		{			
			window.open("http://video.google.com/?hl=en&tab=wv&q=","_blank");			
		}
		function aboutYahoo_video()
		{			
			window.open("http://video.yahoo.com/","_blank");			
		}
		function aboutYouTube_video()
		{			
			window.open("http://www.youtube.com/","_blank");			
		}
		function cellPhone_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=24&subCat1=4&photo=1";				
		}
		function digiCamera_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=9&subCat1=4&photo=1";				
		}
		function dvdPlayer_byCatg()
		{			
			location.href= "/search/search.php?catgLevel=2&from_app=searchByCatg/searchByCatg&orderBy=1&mainCat=13&subCat1=2&photo=1";				
		}
		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 searchTxt = document.sendFields.searchTxt.value;			
			//document.sendFields.goto_app.value = 'search';			
			//document.sendFields.submit();
				
			//document.sendFields.goto_app.value = 'search';	
			document.getElementById("goto_app").value = 'search';			
			//document.sendFields.submit();
			document.getElementById("sendFields").submit();
		}
		
		function submitSearchHeaderBt()
		{			
			//var searchTxt = document.sendFields.searchTxt.value;			
			//document.sendFields.goto_app.value = 'search';			
			//document.sendFields.submit();
				
			//document.sendFields.goto_app.value = 'search';	
			
			if (document.getElementById("searchOption").value != 0)
			{
				document.getElementById("searchTxtHeader").value = document.getElementById("searchTxtHeader_input").value;		
				
				document.getElementById("catg").value = document.getElementById("searchOption").value;		
				
				//document.getElementById("search_button_on").value = 1;	
				
				document.getElementById("goto_app").value = 'searchHeader';			
				//document.sendFields.submit();
				document.getElementById("sendFields").submit();
			}
		}
		
		function setSearch()
		{
			//document.sendFields.goto_app.value = 'search';
			//document.sendFields.goto_app.value = 'search';
			document.getElementById("goto_app").value = 'search';
		}
		
		function searchTxt_update(searchTxt)
		{				
			//document.sendFields.searchTxt.value = searchTxt.value;
			document.getElementById("searchTxt").value = searchTxt.value;
		}
		
		function searchTxtHeader_update(searchTxtHeader)
		{				
			//document.sendFields.searchTxt.value = searchTxt.value;
			document.getElementById("searchTxtHeader").value = searchTxtHeader.value;
		}
		function init()
		{
						
			if (document.getElementById("similiar_articles_status").value == '1')
			{
				var similar_art_div = document.getElementById("similar_art_div");
				similar_art_div.style.display = "block";
			}
		}
