		/****************************** to handle flash ****************************************/
		// Major version of Flash required
		var requiredMajorVersion = 9;
		// Minor version of Flash required
		var requiredMinorVersion = 0;
		// Minor version of Flash required
		var requiredRevision = 115;
		
		var height = '523';
		var width = '777';
		var altSrc='http://ak.imgfarm.com/images/zqt/homepage/cuties_static_homepage_v2.jpg'; //PUT IN PIC URL
		
		
		//This function relys on AC_OETags.js file - TODO: merge these two files
		function createFlash(_id, _version){
		   
	      // Version check based upon the values defined in globals
	      var hasRequestedVersion = DetectFlashVer(9, 0, 115);
	            
	      var sBase=(window.location.href.indexOf(".dev.")!=-1)?"assets0.dev":"assets0";
	      var base=(window.location.href.indexOf(".dev.")!=-1)?"http://www.dev.":"http://www.";
	      var sAssetsURL="http://"+sBase+".zwinkycuties.com/world/";
	      
	      
	     //	var sBase=(window.location.href.indexOf(".dev.")<13)?"assets0.dev":"assets0";
		//	var sAssetsURL="http://"+sBase+".zwinkycuties.com/world/";
		      
			//does user have the correct version of flash, yes or no?
			if(DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision)){//yes it does, rock out with your swf out
				var ver = (_version)?"?v="+_version:"";
		        // if we've detected an acceptable version
		        // embed the Flash Content SWF when all tests are passed
		        document.write( AC_FL_RunContent(
		            "src", sAssetsURL+_id+ver,
		            "FlashVars", window.location.search.substring(1),
		            "width", "100%",
		            "height", "705",
		            "align", "middle",
		            "id", _id,
		            "quality", "high",
		            "bgcolor", "#ffffff",
		            "name", _id,
		            "allowScriptAccess","always",
		            "allowFullScreen","true",
		            "type", "application/x-shockwave-flash",
		            "pluginspage", "http://www.adobe.com/go/getflashplayer",
		            "wmode", "opaque"
		        ) );
			
			}
			else{ // does not present the user with a button
					document.write("<br/><br/><a onClick='JavaScript:showSystemMessage()'>" +
					"<img src='" + altSrc + "' width='" + width + "' height='" + height + "' alt='Click here to get Flash!' border='0' usemap='#nonFlash' /> " +
					"<map id='nonFlash' name='nonFlash'> " +
					"<area shape='circle' coords='703,71,42' href='${sHelpUrl}'> " +
					"<area shape='circle' coords='603,71,42' href='${sLearnMoreUrl}'> " +
					"<area shape='poly' coords='0,0, 596,5, 557,69, 603,116, 768,111, 776,521, 0,521, 0,0' href='JavaScript:showSystemMessage()'> " +
					"</map>"+
					"</a>");
					$("#HTML_FOOTER").show();
					$(document.body).css("backgroundColor", "#F28DD3");
			}
		}