    var sb_player_width = '640px';
    var sb_player_height = '480px';
    var sb_player_orig_width = 640;
    var sb_player_orig_height = 480;
    var useOutline = 0;
    var continousPlay = false;
    var companion_gnm_ord = '';
    var sbDocumentLocation = escape(document.location);
    sbDocumentLocation = replaceSlashes(sbDocumentLocation);
	var springboardUniqueIdentifier;
	
	function addCookie(cookieName, cookieValue, nDays) 
	{
		var today = new Date();
		var expire = new Date();
		if (nDays==null || nDays==0) nDays=1;
		expire.setTime(today.getTime() + 3600000*24*nDays);
		document.cookie = cookieName+"="+escape(cookieValue)
		+ ";expires="+expire.toGMTString();
	}

	function rdCookie(cookieName) 
	{
		var re = new RegExp('[; ]'+cookieName+'=([^\s;]*)');
		var sMatch = (' '+document.cookie).match(re);
		if (cookieName && sMatch) return unescape(sMatch[0]);
		return '';
	}
	
	if (rdCookie("springboard131"))
	{
		springboardUniqueIdentifier = 0;
	}
	else
	{
		springboardUniqueIdentifier = 1;
	}
	
	function generateSpringboardLightBox(){
		htmlCode = '';
		htmlCode += '            <div id="sb_top_div" onclick="hide_sb_ads();" style="position:absolute;z-index:6001;top:0px;left:0px;width:100%;height:27px;text-align:right;margin-bottom:20px;">';
		htmlCode += '                <span id="sb_close_span" style="background-color:#000000;padding:5px;color:#999999;font-family:verdana;font-size:12px;position:relative;top:8px;padding-right:4px;cursor:pointer;margin-right: 4px;">';
		htmlCode += '                    CLOSE';
		htmlCode += '                    <img align="absmiddle" border="0" src="http://cdn.springboard.gorillanation.com/storage/lightbox_code/static/sb_close_ad.gif"/>';
		htmlCode += '                </span>';
		htmlCode += '            </div>';
		htmlCode += '    <div id="sb_placeholder">';
		htmlCode += '        <div id="sb_com_ads" style="display:none;z-index:5999;text-align:center;position:absolute;top:50px;background-color: #000000;opacity:.80;filter: alpha(opacity=80);-moz-opacity:0.8;">';
		htmlCode += '        </div>';
		htmlCode += '        <div id="sb_com_iframe" style="display:none;z-index:6000;text-align:center;position:absolute;width:1024px;">';
		htmlCode += '            <iframe allowtransparency="true" align="center" id="sb_iframe_content" src="" frameborder="0" marginheight="0px" marginwidth="0px" scrolling="no" style="width:1024px;height:590px;"></iframe>';
		htmlCode += '        </div>';
		htmlCode += '    </div>';		
		
		div = document.createElement('div');
		div.id = 'sb_lightbox_html';
		div.style.textAlign = 'left';
		
		
		
		if(document.getElementById('sb_lightbox_html') == null){
			document.body.appendChild(div);
		}		
		document.getElementById('sb_lightbox_html').innerHTML = htmlCode;
	}
	
	function start_lightbox_ey004(iframe_id, curr_width, curr_height) 
	{
		addCookie("springboard131", "sbvideo_analytics", 1);
		generateSpringboardLightBox();
		add_curtain(curr_height);
		if (springboardUniqueIdentifier != undefined)
		{
			iframe_id +='/'+springboardUniqueIdentifier;
		}
		show_curtain(iframe_id);
		springboardUniqueIdentifier = 0;
	}

