/************************************************************************\
| iPlayer QuickTag                                                       |
| http://iamseb.com/wordpress-plugins/iplayer-quicktag                   |
|                                                                        |
| Totally stolen from:                                                   |
| VIPER'S VIDEO QUICKTAGS                                                |
| http://www.viper007bond.com/wordpress-plugins/vipers-video-quicktags/  |
\************************************************************************/


function iq_iPlayer(objectID, videoWidth, videoHeight, videoID) {
	document.getElementById(objectID).innerHTML = '<embed type="application/x-shockwave-flash" src="http://www.bbc.co.uk/iplayer/emp/flash/iplayer-external.swf" style="" id="emp" name="emp" bgcolor="#000000" quality="high" allowfullscreen="true" wmode="transparent" flashvars="config=http://www.bbc.co.uk/iplayer/emp/xml/config.xml&amp;metafile=http://www.bbc.co.uk/iplayer/metafiles/episode/' + videoID + '.xml&amp;debug=false" height="' + videoHeight + '" width="' + videoWidth + '">';
}
