	function writeFlash(pathR)
	{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="60" height="24">' + 
						'<param name="movie" value="/player/wimpy_button.swf" />' +
						'<param name="loop" value="false" />' +
						'<param name="menu" value="false" />' +
						'<param name="quality" value="high" />' +
						'<param name="bgcolor" value="#FFFFFF" />' +
						'<param name="flashvars" value="theFile=/' + pathR + '&playingColor=FFFFFF&arrowColor=FFFFFF&theBkgdColor=4192A4&rollOverColor=FFFFFF&buttonStyle=square" />' +
						'<embed src="/player/wimpy_button.swf" flashvars="theFile=/' + pathR + '&playingColor=FFFFFF&arrowColor=FFFFFF&theBkgdColor=4192A4&rollOverColor=FFFFFF&buttonStyle=square" width="60" height="24" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
						'</object>') 
	}
	function checkValue(element)
	{
		if(element.options[element.options.selectedIndex].value == "")
		{
			document.getElementById("hiddenField").style.visibility = "visible"
			document.getElementById("hiddenField").style.marginTop = "5px"
			document.getElementById("hiddenField").style.marginBottom = "5px"
			document.getElementById("hiddenField").style.marginLeft = "150px"
		}
		else
		{
			document.getElementById("hiddenField").style.visibility = "hidden"
			document.getElementById("hiddenField").style.marginTop = "0"
			document.getElementById("hiddenField").style.marginBottom = "0"
		}
	}