<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function map_DoFSCommand(command, args) {
	var mapObj = isInternetExplorer ? document.all.map : document.map;
	//
	// Place your code here.
	if (command == "showdairy"){
		getDairy(args)
		}
	//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub map_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call map_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

function getDairy(d){
	//alert("Sorry this competition has finished.  Thanks to all whom have voted.  \n\nPlease check back for the winner.");
	//return false;
if(!$('dairy')){

}else{
	//valid.reset();
	update_data_ajax ("getdairy", "dairy", d)
	
}
	}
//-->
