// JavaScript Document
        
			// JAVASCRIPT VARS
			// cache buster
			var cacheBuster = "?t=" + Date.parse(new Date());		
			
			// stage dimensions
			var stageW = 302;//"100%";
			var stageH = 290;//"100%";    
		    
			
			// ATTRIBUTES
		    var attributes = {};
		    attributes.id = 'myPoll';
		    attributes.name = attributes.id;

			// PARAMS
			var params = {};
		    params.bgcolor = "#FFCCCC";
		    params.menu = "false";
		    params.scale = 'noScale';
		    params.wmode = "transparent";//"opaque";
		    params.allowfullscreen = "true";
		    params.allowScriptAccess = "always";

	
		    /* FLASH VARS */
		    var flashvars = {};
		    
			/// if commented / delete these lines, the component will take the stage dimensions defined 
			/// above in "JAVASCRIPT SECTIONS" section or those defined in the settings xml				    
		    flashvars.componentWidth = stageW;
			flashvars.componentHeight = stageH;
			
			/// path to the content folder(where the xml files, images or video are nested)
			/// if you want to use absolute paths(like "http://domain.com/images/....") then leave it empty("")			
			flashvars.pathToFiles = "poll/";
			//
			flashvars.id = "12345";
			//
			flashvars.xmlPath = "xml/settings.xml";
			flashvars.xmlContentPath = "xml/content.xml";
			//
		    flashvars.checkIpScriptPath = "php/checkIP.php";
		    flashvars.voteScriptPath = "php/vote.php";
		    
		    /** EMBED THE SWF**/        
            swfobject.embedSWF('preview3.swf'+cacheBuster, attributes.id, stageW, stageH, '9.0.45', 'js/expressinstall.swf', flashvars, params, attributes);
            if(swfmacmousewheel) swfmacmousewheel.registerObject(attributes.id);
           

