=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
/* Player UI functions use Iframe based communication to hit rest
services in the vms. This was chosen over ajax as the player may
be used on other domains than mync.
A new format was introduced called RSI, much like here:
http://developer.apple.com/internet/webcontent/iframe.html
Passing format=rsi will trigger the vms to shoot messages back
into handleResponse using JS.
*/
function set_rate(video_id, rating)
{
document.getElementById("player_communication_iframe").src = base_url+"video/rate/?format=rsi&object_type=video&object_id="+video_id+"&rating="+rating;
}
function set_comment(video_id, time, body)
{
document.getElementById("player_communication_iframe").src = base_url+"comment/add/?format=rsi&time="+time+"&id="+video_id+"&comment="+body;
}
function register_play_count(video_id)
{
document.getElementById("player_communication_iframe").src = base_url+"video/register-play-count/?format=rsi&video_id="+video_id;
}
function set_inappropriate(video_id)
{
document.getElementById("player_communication_iframe").src = base_url+"video/flag-inappropriate/?format=rsi&video_id="+video_id;
}
function email_video(video_id, user_alias, user_email, friend_email, message)
{
document.getElementById("player_communication_iframe").src = base_url+"video/email-a-friend/?format=rsi&video_id="+video_id+"&user_alias="+user_alias+"&user_email="+user_email+"&friend_email="+friend_email+"&message="+message;
}
function handleResponse(msg)
{
document.getElementById("player_communication_iframe").src = "";
}
document.write('')
document.write('');
var s1 = new SWFObject("http://static.mync.com/player/mediaplayer.swf","mediaplayer","400","333","0");
s1.addParam("allowscriptaccess","always");
s1.addParam("allowfullscreen","true");
s1.addParam("wmode","opaque");
s1.addVariable("skinURL","http://static.mync.com/player/skin.swf");
s1.addVariable("playlistURL","http://vms.mync.com/vms/video/view/format/playerXML/id/3932/ad_tag_base_64/am9obnN0b24ubXluYy5jb20vbmV3cw==/");
s1.addVariable("width","400");
s1.addVariable("height","333");
s1.addVariable("mode","a");
s1.addVariable("enablejs","true");
s1.addVariable("javascriptid","jstest_a");
s1.write("vms_container_1369");
document.write(' 2008 Selma Christmas Parade.Photos by Steve Gamlin
');