		  
		 var hasReqestedVersion= DetectFlashVer(9, 0, 0);
		 
		// alert("has requested versiuon 9 ,0 ,0 =" +hasReqestedVersion);
		 
		 var url = window.location.href; 
		
		//	alert("index of flash = " + url.indexOf("flash"));
		
		if(url.indexOf("flash") <=0 && hasReqestedVersion){
				
			var urlParts = url.split("/");
			window.location.href = "/#/wine_details/"+urlParts[urlParts.length -1];
		}
		  