/*------------------------

  Required Functions
 
------------------------*/

    //needed for the contact links funtion to work properly
    function getDisplayFriendID() { return MySpace.ClientContext.DisplayFriendId; }
    
    
    //required for add this javascript
    addthis_offset_top      = 0;
    addthis_offset_top_low  = 0;
    addthis_offset_left     = 0;
    
/*------------------------

  JS from Lionsgate
 
------------------------*/

// JavaScript Document

//GENERAL FLASH CONTENT
function flashcontent(url, width, height){
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'">');
    document.write('<param name="movie" value="'+url+'" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="allowFullScreen" value="true" />');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="bgcolor" value="000000">');
    document.write('<param name="AllowScriptAccess" VALUE="always">');
    document.write('<embed src="'+url+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"  bgcolor="#000000" allowFullScreen="true" wmode="transparent" allowScriptAccess="always">');
    document.write('</embed>');
    document.write('</object>');
}


//CREATES POP-UP WINDOW
function popup(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}