/**
 * SWFPlayer: Javascript function that works with SWFObject.js and is used to build the object.
 * 
 * Derived by blueshade (http://www.wave460.net/) from myWMPlayer script by www.webado.net.
 * Derived by www.webado.net  from the original by by Kovan Abdulla of www.imetasoft.com.
 *
 * WMPObject is (c) 2006 Kovan Abdulla  and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * For all usage credits must remain intact.
 */

function SWFPlayer (id, sid, width, height) {
// on input height of movie needs to be increased by 144px for the full controls - width stays the same
// audio player only needs a hight from 45px to 145px depending on options
                                var l = 'http://szorty.pl/download/?id=' + sid + '&s=1';              
				var swfVid = new SWFObject(l, 'SWFPlayer1', width, height, 6, '#000000');
				swfVid.write(id);

}
