			function goCategory(param) {
			      location.href = "browse.php?action=browse&categoryId="+param;
			}
			function goHomepage() {
			      location.href = "browse.php";
			}
			
			function goChat() {		      
			   location.href = "chat.php";
			}
			
			function goForum() {		      
			   location.href = "forum.php";
			}
			
			function removeFilters() {		    	   	    
			    location.href = "browse.php?action=removeFilters"; 
			}

			function goRegister() {
			      location.href = "register.php";
			}
			
			function goLoginPage() {
			      location.href = "flow.php?_flowId=login";
			}
			
			function goAboutUs() {
			     location.href = "browse.php?action=aboutUs";
			}
			
			function showNews() {
			     location.href = "browse.php?action=showNews";
			}
			
			function goAdsInfo() {
			     location.href = "browse.php?action=adsInfo";
			}
			
			function goBanners() {
			     location.href = "banery.php";
			}
			
			function goContactUsForm() {
			     location.href = "contactUs.php";
			}
			
						function goPostPricelist() {
			      
			      newwindow=window.open("http://www.poczta-polska.pl/cennik.html",'cennikpoczty','height=600,width=900');
				    if (window.focus) {newwindow.focus()}
			}
      

			
			function goContactUsCategory(param) {
			     location.href = "contactUs.php?contactType="+param;
			}
			
			function goContactUs(contactType, auctionId) {
			     location.href = "contactUs.php?contactType="+contactType + "&auctionId="+auctionId;
			}

			function goAdminSetting() {
			      location.href = "flow.php?_flowId=admin";
			}			
			
			function tellAFriend() {
			      location.href = "tellAFriend.php";
			}
			
			function goTerms() {
			      
			      newwindow=window.open("regulamin.html",'name','height=600,width=900,resizable=true,scrollbars=yes');
				  if (window.focus) {newwindow.focus()}
			}
			
			function goAdvancedSearch() {
			      location.href = "search.php?action=advancedSearchForm";
			}
			
			function goUserSetting() {			      
			      location.href = "flow.php?_flowId=userData";
			}
			
				function doNegCommAnswer(id) {      		
      		location.href = "flow.php?_flowId=userData&commentNegId="+id;      		
	     }
			
			function goNeedPage() {			      
			      location.href = "flow.php?_flowId=need";
			}
			
			function showNeeds() {		    	   	    
	    location.href = "browse.php?action=browseNeeds"; 
	     }
			
			
			function doLogout() {
			      location.href = "logout.php";
			}
			
			function showHelp() {
			      location.href = "browse.php?action=showHelp";
			}			
			
			function createAuction() {
			      location.href = "flow.php?_flowId=createAuction";
			}
			 
			
			
			function goAuction(id) {
			      location.href = "auction.php?action=viewAuction&auctionId=" + id;			      
			}
			
			function goAuctionListForUser(id) {
			      location.href = "browse.php?action=browseForUser&userId=" + id;			      
			}
			
			function goAuctionGotListForUser(id) {
			      location.href = "browse.php?action=browseAuctionGotForUser&userId=" + id;			      
			}
			
			function goAuctionBidListForUser(id) {
			      location.href = "browse.php?action=browseAuctionBidsForUser&userId=" + id;			      
			}
			
			function goConfirmBidAuction(auctionId) {
			      //location.href = "auctionBid.php?action=confirmBidAuction&auctionId=" + auctionId;
			      location.href = "flow.php?_flowId=bidAuction";
			}			
			
			function goConfirmedWinAuction(auctionId) {
			      location.href = "auctionBid.php?action=confirmedWinAuction&auctionId=" + auctionId;
			}						
			
			
			function goUserInfo(id) {
			      location.href = "userInfo.php?action=showUserInfo&userId=" + id;			      
			}
			
			
			      			      
			
			
			function sendMail(id)
			{
			  location.href = "flow.php?_flowId=sendMail&userId=" + id;		 	
			}	
			
			function sendMail(id,auctionId)
			{
			  location.href = "flow.php?_flowId=sendMail&userId=" + id + "&auctionId="+ auctionId;		 	
			}
			
			

			function makeFocus(elem) {
			  elem.focus();
			  elem.select();
			}
			
			function blockEnter(evt) {
			  evt = (evt) ? evt : event;
			  var charCode = (evt.charCode) ? evt.charCode :
			      ((evt.which) ? evt.which : evt.keyCode);
			  if (charCode == 13 || charCode == 3) {
			    return false; 
			  } else {	
			    return true;
			  }
			}
			
			function disableSelection(target){
			if (typeof target.onselectstart!="undefined") //IE route
				target.onselectstart=function(){return false}
			else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
				target.style.MozUserSelect="none"
			else //All other route (ie: Opera)
			//	target.onselectstart=function(){return false}
			target.style.cursor = "default"
			}
		
	function removeShiftCtrlEnter(evt) {
		  evt = (evt) ? evt : event;
		  var charCode = (evt.charCode) ? evt.charCode :
		      ((evt.which) ? evt.which : evt.keyCode);
		  if (charCode == 16 || charCode == 17) {
		    return false;
		  } else {	
		    return true;
		  }	
	}
		
			
			