function create_flash(){
var so = new SWFObject('avs4you_player.swf', 'player', '640', '525', '10', '#000000',true);
		so.addParam("allowScriptAccess","sameDomain");
		so.addParam("allowFullScreen","true");
		so.addParam("wmode", "window");
		so.addParam("scale", "showall");
		so.addParam("menu","1");
		so.addParam("align","middle");

		// this is the name of the converted file that will be played by the player
		so.addVariable("file", "SalarDemo2x_NEW.flv");

		// here the size of the player itself is set in pixels - width and height
		so.addVariable("width", "640");
		so.addVariable("height", "525");

		// the name of the player skin
		so.addVariable("theme", "Platinum.swf");

		// the movie loop parameter - can be set to 0 (the video will stop after the playback is over) or 1 (playback is looped)
		so.addVariable("repeat", "0");

		// the movie automatic startup parameter - can be set to 0 (the playback will not start automatically once the page with the video is loaded) or 1 (autostart)
		so.addVariable("autostart", "1");

		// the name and path of the image that will be displayed when the page is loaded, provided that the autostart value is set to 0 (i.e. no autostart is enabled)
		so.addVariable("image", "/images/salar_inc");

		// the volume that will be used to playback your movie
		so.addVariable("volume", "50");

		// the top and the bottom captions displayed when you roll your mouse cursor over the player window
		so.addVariable("top_caption", "Schedule a live demo today!");
		so.addVariable("bottom_caption", " ");
		so.addVariable("showlogo", "0");
		so.addVariable("v", getQueryParamValue("v"));
                so.useExpressInstall('http://www.salarinc.com/demo/expressInstall.swf');
                so.setAttribute('xiRedirectUrl', 'http://www.salarinc.com/demo/');
		so.write("demo");

}


