	function flashPutHref(href) { location.href = href; }
	function flashPutTitle(title) { document.title = title; }
	//function flashPutFirstName(name) { document.getElementById("uName").innerHTML = name; if (name!="Guest") document.getElementById("logLink").innerHTML = "<a class=\"one\" href=\"index.php?p=logout\">Log out</a>";}
	function showFlash(swf, w, h, uniqueNumber)
	{
		var isMSIE = navigator.appName.indexOf("Microsoft") != -1;
		var l1 = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'" id="flashapp" align="">'
		var l2 = '<param name="movie" value="'+swf+'" />'
		var l3 = '<param name="wmode" value="transparent" />'
		var l4 = '<param name="allowFullScreen" value="true" />'
		var l5 = '<param name="menu" value="true" />'
		var l6 = '<param name="quality" value="best" />'
		var l7 = '<param name="FlashVars" value="singleStreamFolder=video&enableAutoPlay=true&bufferTimeMax=5&bufferTimeMin=5&videoLink=http://pattorpey.com/download.php&uniqueNumber='+uniqueNumber+'&initialURL='+document.location+'&isMSIE='+isMSIE+'" />'
		var l8 = '<embed src="'+swf+'" FlashVars="singleStreamFolder=video&enableAutoPlay=true&bufferTimeMax=5&bufferTimeMin=5&videoLink=http://pattorpey.com/download.php&uniqueNumber='+uniqueNumber+'&initialURL='+document.location+'&isMSIE='+isMSIE+'" menu="true" wmode="transparent" allowfullscreen="true" quality="best" width="'+w+'" height="'+h+'" name="flashapp" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>'
		document.write(l1+l2+l3+l4+l5+l6+l7+l8);
	}