

function domit(){

// tr ident="_node_4" children:

var td_node_5=document.createElement('td');
td_node_5.style.padding="0pt";
td_node_5.style.border="medium none";
td_node_5.style.margin="0pt";
td_node_5.style.lineHeight="0pt";
td_node_5.style.fontSize="0pt";
td_node_5.style.height="20px";
td_node_5.style.width="20px";
td_node_5.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll 0px 0px transparent';


var td_node_6=document.createElement('td');
td_node_6.style.padding="0pt";
td_node_6.style.border="medium none";
td_node_6.style.margin="0pt";
td_node_6.style.lineHeight="0pt";
td_node_6.style.fontSize="0pt";
td_node_6.style.height="20px";
td_node_6.style.width="20px";
td_node_6.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll 0px -40px transparent';


var td_node_7=document.createElement('td');
td_node_7.style.padding="0pt";
td_node_7.style.border="medium none";
td_node_7.style.margin="0pt";
td_node_7.style.lineHeight="0pt";
td_node_7.style.fontSize="0pt";
td_node_7.style.height="20px";
td_node_7.style.width="20px";
td_node_7.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll -20px 0px transparent';


// tr ident="_node_8" children:

var td_node_9=document.createElement('td');
td_node_9.style.padding="0pt";
td_node_9.style.border="medium none";
td_node_9.style.margin="0pt";
td_node_9.style.lineHeight="0pt";
td_node_9.style.fontSize="0pt";
td_node_9.style.height="20px";
td_node_9.style.width="20px";
td_node_9.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll 0px -80px transparent';


var td_node_10=document.createElement('td');
td_node_10.style.backgroundColor="rgb(255,255,255)";
td_node_10.style.padding="0pt";
td_node_10.style.border="medium none";
td_node_10.style.margin="0pt";
td_node_10.style.position="relative";
td_node_10.style.width="760px";
td_node_10.style.height="580px";

var td_node_11=document.createElement('td');
td_node_11.style.padding="0pt";
td_node_11.style.border="medium none";
td_node_11.style.margin="0pt";
td_node_11.style.lineHeight="0pt";
td_node_11.style.fontSize="0pt";
td_node_11.style.height="20px";
td_node_11.style.width="20px";
td_node_11.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll -20px -80px transparent';


// tr ident="_node_12" children:

var td_node_13=document.createElement('td');
td_node_13.style.padding="0pt";
td_node_13.style.border="medium none";
td_node_13.style.margin="0pt";
td_node_13.style.lineHeight="0pt";
td_node_13.style.fontSize="0pt";
td_node_13.style.height="20px";
td_node_13.style.width="20px";
td_node_13.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll 0px -20px transparent';


var td_node_14=document.createElement('td');
td_node_14.style.padding="0pt";
td_node_14.style.border="medium none";
td_node_14.style.margin="0pt";
td_node_14.style.lineHeight="0pt";
td_node_14.style.fontSize="0pt";
td_node_14.style.height="20px";
td_node_14.style.width="20px";
td_node_14.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll 0px -60px transparent';


var td_node_15=document.createElement('td');
td_node_15.style.padding="0pt";
td_node_15.style.border="medium none";
td_node_15.style.margin="0pt";
td_node_15.style.lineHeight="0pt";
td_node_15.style.fontSize="0pt";
td_node_15.style.height="20px";
td_node_15.style.width="20px";
td_node_15.style.background='url("http://sdata.7rtv.com/res/fullpage/rounded-white.png") repeat scroll -20px -20px transparent';


// tbody ident="_node_3" children:

var tr_node_4=document.createElement('tr');
tr_node_4.style.padding="0pt";
tr_node_4.style.border="medium none";
tr_node_4.style.margin="0pt";
tr_node_4.style.height="auto";

var tr_node_8=document.createElement('tr');
tr_node_8.style.padding="0pt";
tr_node_8.style.border="medium none";
tr_node_8.style.margin="0pt";
tr_node_8.style.height="auto";

var tr_node_12=document.createElement('tr');
tr_node_12.style.padding="0pt";
tr_node_12.style.border="medium none";
tr_node_12.style.margin="0pt";
tr_node_12.style.height="auto";

// table ident="_node_2" children:

var tbody_node_3=document.createElement('tbody');
tbody_node_3.style.padding="0pt";
tbody_node_3.style.border="medium none";
tbody_node_3.style.margin="0pt";

// span ident="_node_24" children:
var text0=document.createTextNode('Close ');

// a ident="_node_23" children:

var span_node_24=document.createElement('span');
span_node_24.style.display="none";

// li ident="_node_22" children:

var a_node_23=document.createElement('a');
a_node_23.setAttribute("href", "#", 0);
a_node_23.setAttribute("title", "Close", 0);
a_node_23.onclick=function(){
return SIASI.closeFullPage();
};
a_node_23.style.backgroundImage='url("http://data.7rtv.com/res/closeX.png")';
a_node_23.style.display="block";
a_node_23.style.height="16px";
a_node_23.style.width="16px";

// ul ident="_node_21" children:

var li_node_22=document.createElement('li');
li_node_22.style.padding="0pt";
li_node_22.style.position="absolute";
li_node_22.style.right="10px";
li_node_22.style.top="-22px";
li_node_22.style.listStyleType="none";
li_node_22.style.zIndex="5";

// div ident="_node_20" children:

var ul_node_21=document.createElement('ul');
ul_node_21.style.textDecoration="none";

// span ident="_node_28" children:

var span_node_29=document.createElement('span');

// div ident="_node_27" children:

var span_node_28=document.createElement('span');
span_node_28.className="siasi-resize";
span_node_28.setAttribute("title", "Resize", 0);

// div ident="_node_26" children:

var div_node_27=document.createElement('div');

// div ident="_node_19" children:

var div_node_20=document.createElement('div');
div_node_20.style.padding="0pt";
div_node_20.style.border="medium none";
div_node_20.style.margin="20px 0pt 0pt";
div_node_20.className="siasi-header";

var div_node_25=document.createElement('div');
div_node_25.style.padding="0pt";
div_node_25.style.border="medium none";
div_node_25.style.margin="0pt";
//div_node_25.style.left="10px";
div_node_25.style.position="relative";

div_node_25.style.textAlign="center";

div_node_25.style.verticalAlign="middle";

//div_node_25.style.top="30px";
div_node_25.style.display="none";
div_node_25.setAttribute("id", "siasi_fullpage", 0);

var div_node_26=document.createElement('div');
div_node_26.className="siasi-footer";

// div ident="_node_18" children:

var div_node_19=document.createElement('div');
div_node_19.style.position="relative";
div_node_19.style.display="block";
div_node_19.style.direction="ltr";
div_node_19.style.width="auto";
div_node_19.style.border="medium none";
div_node_19.style.height="auto";
div_node_19.className="siasi-html-content";

// div ident="_node_17" children:

var div_node_18=document.createElement('div');
div_node_18.style.padding="0pt";
div_node_18.style.border="medium none";
div_node_18.style.margin="0pt";
div_node_18.style.position="relative";
div_node_18.style.width="800px";

// div ident="_node_16" children:

var div_node_17=document.createElement('div');
div_node_17.style.position="relative";
div_node_17.style.zIndex="3";
div_node_17.style.height="580px";
div_node_17.style.overflow="hidden";
div_node_17.style.width="800px";
div_node_17.style.left="0px";
div_node_17.style.top="0px";
div_node_17.style.visibility="visible";
div_node_17.className="siasi-html";

// body children:

var div_node_1=document.createElement('div');
div_node_1.style.backgroundColor="white";
div_node_1.style.height="0%";
div_node_1.style.left="0px";
div_node_1.style.position="fixed";
div_node_1.style.top="0px";
div_node_1.style.width="0%";
div_node_1.style.zIndex="1000";
div_node_1.style.padding="0px";
div_node_1.style.borderStyle="none";
div_node_1.style.margin="0px";
div_node_1.style.visibility="visible";
div_node_1.setAttribute("id", "siasi_bg", 0);

var table_node_2=document.createElement('table');
table_node_2.setAttribute("cellspacing", 0, 0);
table_node_2.style.textAlign="left";
table_node_2.style.padding="0pt";
table_node_2.style.border="medium none";
table_node_2.style.margin="0pt";
table_node_2.style.visibility="visible";
table_node_2.style.position="absolute";
table_node_2.style.borderCollapse="collapse";
table_node_2.style.width="820px";
table_node_2.style.zIndex="1004";
table_node_2.style.top="-9999px";
table_node_2.setAttribute("id", "siasi-content", 0);

var div_node_16=document.createElement('div');
div_node_16.style.padding="0pt";
div_node_16.style.border="medium none";
div_node_16.style.margin="0pt";
div_node_16.style.visibility="visible";
div_node_16.style.position="absolute";
div_node_16.style.zIndex="1005";
div_node_16.style.left="375px";
div_node_16.style.top="-9999px";
div_node_16.style.width="780px";
div_node_16.style.height="580px";
div_node_16.style.opacity="1";
div_node_16.setAttribute("id", "siasi-wrapper", 0);

//appending elements:

tr_node_4.appendChild(td_node_5);
tr_node_4.appendChild(td_node_6);
tr_node_4.appendChild(td_node_7);
tr_node_8.appendChild(td_node_9);
tr_node_8.appendChild(td_node_10);
tr_node_8.appendChild(td_node_11);
tr_node_12.appendChild(td_node_13);
tr_node_12.appendChild(td_node_14);
tr_node_12.appendChild(td_node_15);
tbody_node_3.appendChild(tr_node_4);
tbody_node_3.appendChild(tr_node_8);
tbody_node_3.appendChild(tr_node_12);
table_node_2.appendChild(tbody_node_3);
span_node_24.appendChild(text0);
a_node_23.appendChild(span_node_24);
li_node_22.appendChild(a_node_23);
ul_node_21.appendChild(li_node_22);
div_node_20.appendChild(ul_node_21);
span_node_28.appendChild(span_node_29);
div_node_27.appendChild(span_node_28);
div_node_26.appendChild(div_node_27);
div_node_19.appendChild(div_node_20);
div_node_19.appendChild(div_node_25);
div_node_19.appendChild(div_node_26);
div_node_18.appendChild(div_node_19);
div_node_17.appendChild(div_node_18);
div_node_16.appendChild(div_node_17);
document.body.appendChild(div_node_1);
document.body.appendChild(table_node_2);
document.body.appendChild(div_node_16);
}


domit();

//var rtv_sol_pixel = 'http://b.dclick.ru/image.ng/site=kp.ru&adsize=1x1&pos=video.23071050';
var rtv_sol_pixel =  'http://b.dclick.ru/image.ng/site=kp.ru&adsize=1x1&pos=video.23071050.ded';
var rtv_sol_link = 'http://b.dclick.ru/click.ng/site=kp.ru&adsize=1x1&pos=video.23071050';



     
     var SIASI_EXIST = false;
     try {
	 SIASI;
	 SIASI_EXIST = true;
     } catch(e) {
	  SIASI = new Object();
	 SIASI_EXIST = true;
     }
     
		     
     
     if(SIASI_EXIST){
	  ///alert("Registered");


SIASI.$ = function () {
	var elements = new Array();
	for (var i = 0; i < arguments.length; i++) {
		var element = arguments[i];
		if (typeof element == 'string')
			element = document.getElementById(element);
		if (arguments.length == 1)
			return element;
		elements.push(element);
	}
	return elements;
}

SIASI.getWindowHeight = function () {
			var windowHeight = 0;
			if (typeof(window.innerHeight) == 'number') {
				windowHeight = window.innerHeight;
			}
			else {
				if (document.documentElement && document.documentElement.clientHeight) {
					windowHeight = document.documentElement.clientHeight;
				}
				else {
					if (document.body && document.body.clientHeight) {
						windowHeight = document.body.clientHeight;
					}
				}
			}
			
			return windowHeight;
		}

SIASI.getWindowWidth = function () {
			
			var windowWidth = 0;
			if (typeof(window.innerWidth) == 'number') {
				windowWidth = window.innerWidth;
			}
			else {
				if (document.documentElement && document.documentElement.clientWidth) {
					windowWidth = document.documentElement.clientWidth;
				}
				else {
					if (document.body && document.body.clientWidth) {
						windowWidth = document.body.clientWidth;
					}
				}
			}
			//console.log("width:" + windowWidth);
			return windowWidth;
		}


SIASI.setContent = function () {
			if (document.getElementById) {
				var windowHeight = SIASI.getWindowHeight();
                var windowWidth = SIASI.getWindowWidth();
				
                    if (windowHeight > 0) {

					var contentHeight = SIASI.$('siasi-content').offsetHeight;
                    var contentWidth = SIASI.$('siasi-content').offsetWidth;
					
					//console.log("w:" + contentWidth + " h:" + contentHeight);
					
					//if (windowHeight - contentHeight > 0) {

					SIASI.$('siasi-content').style.position = 'absolute';
					SIASI.$('siasi-content').style.top = ((windowHeight / 2) - (contentHeight / 2)) + 'px';
					SIASI.$('siasi-wrapper').style.top = ((windowHeight / 2) - (contentHeight / 2) + 20) + 'px';

					SIASI.$('siasi-content').style.position = 'absolute';
					SIASI.$('siasi-content').style.left = ((windowWidth / 2) - (contentWidth / 2)) + 'px';
                    SIASI.$('siasi-wrapper').style.left = ((windowWidth / 2) - (contentWidth / 2) + 10) + 'px';
   

				}
			}
		}
	

		SIASI.old_resize_func = null;
		
		if (typeof window.onresize == 'function'){
			SIASI.old_resize_func = window.onresize;
		}

		window.onresize = function() {
			if (SIASI.old_resize_func){
				SIASI.old_resize_func();	
			}
			
			if (SIASI.isFullpageActive()){
				SIASI.setContent();	
			}
			
		}
                
		SIASI.close_fullpage =  function (){
		//		return;
                    SIASI.$('siasi-content').style.top = '-9999px';
                    SIASI.$('siasi-wrapper').style.top = '-9999px';
		SIASI.$('siasi_fullpage').style.display = 'none';
                }
                
                
		SIASI.show_fullpage = function (){
                    SIASI.$('siasi_fullpage').style.display = 'block';
    		}
		
		SIASI.isFullpageActive = function (){
		  if(SIASI.$('siasi-content').style.top == "-9999px"){
		      return false;
		    };
		  return true;
		}


	  
	SIASI.closeFullPage = function(){
		SIASI.$('siasi-content').style.top = '-9999px';
		SIASI.$('siasi-wrapper').style.top = '-9999px';
		SIASI.$('siasi_fullpage').style.display = 'none';

			SIASI.$('siasi_bg').style.width="0%";
			SIASI.$('siasi_bg').style.height="0%";		

		
		 if (navigator.appVersion.indexOf("MSIE") != -1){
		    try{
		    // IE ONLY
			window.document['qiwiie'].stopVideo();	
		    }finally{
		    var x=1;
		    // nothing.
		    }
		 }
		
		
	}

	SIASI.sendClick = function (uuid, suid) {
		
		var img_node_1=document.createElement('img');
		img_node_1.setAttribute("src", "http://www.fsewt.com/cgi-bin/out.cgi?param=click&suid=" + suid
		+ "&url=" + escape(document.location.href) + "&r=" + escape(document.referrer.toString) + "&uuid=" + uuid + "&pm=static&h=" + screen.height
		+ "&w=" + screen.width + "&depth=" + screen.colorDepth + '&rnd=' + Math.random() , 0);
		img_node_1.setAttribute("width", 1, 0);
		img_node_1.setAttribute("height", 1, 0);
		document.body.appendChild(img_node_1);
	}

	SIASI.sendLoad = function (uuid, suid) {
		
		var img_node_1=document.createElement('img');
		img_node_1.setAttribute("src", "http://www.fsewt.com/cgi-bin/out.cgi?param=load&suid=" + suid
		+ "&url=" + escape(document.location.href) + "&r=" + escape(document.referrer.toString) + "&uuid=" + uuid + "&pm=static&h=" + screen.height
		+ "&w=" + screen.width + "&depth=" + screen.colorDepth + '&rnd=' + Math.random() , 0);
		img_node_1.setAttribute("width", 1, 0);
		img_node_1.setAttribute("height", 1, 0);
		document.body.appendChild(img_node_1);
	}
	  
	 SIASI.activateFullPage = function (uuid, link, suid) {
		
		if(!SIASI.isFullpageActive()){
			SIASI.$('siasi_bg').style.width="100%";
			SIASI.$('siasi_bg').style.height="100%";
	      
	       var swf = 'http://sdata.7rtv.com/vifi/vifi-fp/qiwi.swf?uuid='+ uuid + '&x=720&y=540&user_id=777&redir='+ escape(link) + '&suid='+ suid ;
		   
	       	        var fpinner = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="qiwiie" width="720" height="540" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">'+ 
                '<param name="movie" value="' + swf + '"/>' +
                '<param name="quality" value="high"/>' +
                '<param name="bgcolor" value="#000000"/>' +
                '<param name="allowScriptAccess" value="always"/>' +
                '<param name="allowFullScreen" value="true"/>' +
                '<param name="wmode" value="gpu"/>'+
                '<embed id="qiwiff" src="'+ swf + '" quality="high" bgcolor="#000000" width="720" height="540" name="qiwi" align="middle" play="true" loop="false" quality="high" wmode="transparent" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">'+
                '</embed></object>';
			SIASI.$('siasi_fullpage').innerHTML = fpinner;
			SIASI.show_fullpage();
			SIASI.setContent();
		
		}else{
		  //alert("already active");
		  
		}
	       

		
	      
	       
	  }
     }

	
if (!vi_config_id) {
    var vi_config_id = new Array();
}
if (!vi_div_id) {
    var vi_div_id = new Array();
}
if (!vi_div_code) {
    var vi_div_code = new Array();
}
if (!vi_links_check) {
    var vi_links_check = false;
}
function siasi_open_link(url) {
  if (url != ""){
    window.open(url);
  }
}

function hide_vifi(id) {
    siasi_replace_vifi(id, '');
}
function siasi_replace_vifi(id, data) {
    if (!vi_div_id[id]) return;
    vi_div_id[id].innerHTML = vi_div_code[id];
    vi_div_id[id].style.width = '';
    vi_div_id[id].style.height = '';
    vi_div_id[id].style.background = 'transparent';
    vi_div_id[id].style.padding = '0px';
    vi_div_id[id].style.margin = '0px';
    vi_div_id[id].style.border = '0';
}
function siasi_unhide_vifi(id) {
    if (!vi_div_id[id]) return;
}
function siasi_vifi_obj(id) {
    if (navigator.appVersion.indexOf("MSIE") != -1) {
        return document.getElementById("sia_sjie" + id);
    } else {
        return document.getElementById("sia_sj" + id);
    }
}
function siasi_vifi_sendToActionScript(value, id) {
    siasi_vifi_obj(id).siasi_vifi_sendToActionScript(value);
}
function siasi_vifi_resize(id) {
    siasi_vifi_sendToActionScript("resize", id);
}
function rtv_video() {
    var rtv_out = '';
    var vi_config = new Array();
    vi_config['id'] = Math.round(Math.random() * 10000);
    vi_config['suid'] = '0002kp';
    //vi_config['suid'] = 'test';
    vi_config['w'] = '292';
    vi_config['h'] = '220';
	
    var _uuid = "beeline2";
	
    var is_ie = (navigator.appVersion.indexOf("MSIE") != -1);
    var fnd = false;
    var vid = 1;
    for (var x = 0; x < vi_config_id.length; x++) {
        if (vi_config_id[x].suid == vi_config['suid']) {
            vi_config_id[x].vsuid++;
            vid = vi_config_id[x].vsuid;
            fnd = true;
            break;
        }
    }
    if (!fnd) {
        var newind = vi_config_id.length;
        vi_config_id[newind] = new Array();
        vi_config_id[newind].suid = vi_config['suid'];
        vi_config_id[newind].vsuid = 1;
    }
    var rtv_div = false;
    var rtv_divc = document.getElementsByTagName('div');
    if (rtv_divc.length) {
        if (rtv_divc[rtv_divc.length - 1].className == 'rtv_videofield') rtv_div = rtv_divc[rtv_divc.length - 1];
    }
    if (rtv_div) {} else {
        document.write('<div style="padding:0px;margin:0px;border:0px;" id="rtv_video_' + vi_config['id'] + '"></div>');
        rtv_div = document.getElementById('rtv_video_' + vi_config['id']);
    }
    vi_div_id[vi_config['id']] = rtv_div;
    vi_div_code[vi_config['id']] = '';
    var domain_mask = '';
    if (domain_mask) {
        var re = new RegExp(domain_mask);
        if (!re.test(document.location.host)) {
            return;
        }
    }
    var parcel = '';
    if (typeof(rtv_sol_link) != 'undefined') parcel = '&parcel=redlink=' + encodeURIComponent(rtv_sol_link);

    vi_config['fl_url'] = 'http://sdata.7rtv.com/vifi/vifi-fp/' + vi_config['w'] + '-' + vi_config['h'] + '.swf?r=' + vi_config['id'] + '&suid=' + vi_config['suid'] + '&width=' + vi_config['w'] + '&height=' + vi_config['h'] ;

    if (!rtv_visited || !rtv_visited_c) {
        var rtv_visited = new Array();
        var rtv_visited_c = new Array();
    }
    if (!vi_links_check && rtv_visited.length && (document.cookie.indexOf('trtv-' + vi_config['suid'] + '-lnkc') == -1)) {
        vi_links_check = true;
        var rtv_rvst = new Array();
        document.write('<style>.rtv_kk:link{position:absolute;left:0px;visibility:hidden;} .rtv_kk:visited{position:absolute;left:10px;visibility:hidden;}</style>');
        for (var x = 0; x < rtv_visited.length; x++) {
            rtv_rvst[rtv_rvst.length] = '<a href="http://' + rtv_visited[x] + '" class="rtv_kk" style="display:hidden;" id="rtvlnk' + x + '">.</a>\n' + '<a href="http://www.' + rtv_visited[x] + '" class="rtv_kk" style="display:hidden;" id="rtvlnk' + x + 'x">.</a>\n';
        }
        document.write(rtv_rvst.join(''));
        for (var x = 0; x < rtv_visited.length; x++) rtv_visited_c[x] = escape(rtv_visited[x]) + ':' + ((document.getElementById('rtvlnk' + x).offsetLeft != 0 || document.getElementById('rtvlnk' + x + 'x').offsetLeft != 0) ? 'Y' : 'N');
        cd = new Date();
        cd.setTime(cd.getTime() + 3600000);
        document.cookie = 'trtv-' + vi_config['suid'] + '-lnkc=1; expires=' + cd.toGMTString() + '; path=/';
    }
    var rtv_ref = document.referrer;
    if (!rtv_ref) {
        rtv_ref = "direct link";
    }
    
    //only for SOL2 SIASI.sendLoad(_uuid , vi_config['suid']);
    
    //rtv_out += '<img src="' + "http://www.fsewt.com/cgi-bin/out.cgi?param=load&suid=" + vi_config['suid'] + "&url=" + escape(document.location.href) + "&r=" + escape(rtv_ref) + "&uuid=viazov&pm=static&h=" + screen.height + "&w=" + screen.width + "&depth=" + screen.colorDepth + '&rnd=' + Math.random() + '&uuid=' +_uuid + '" height="1" width="1" />';
    if (typeof(rtv_sol_pixel) != 'undefined') rtv_out += '<img src="' + rtv_sol_pixel + '" height="1" width="1" />';
    //alert(rtv_out);
    if (navigator.appVersion.indexOf("MSIE") != -1) {
        rtv_out += '<object id="sia_sjie' + vi_config['id'] + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="' + vi_config['w'] + '" height="' + vi_config['h'] + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">' + '<param name="movie" value="' + vi_config['fl_url'] + '"/>' + '<param name="allowFullscreen" value="true" />' + '<param name="wmode" value="transparent" />' + '<param name="loop" value="false" />' + '<param name="quality" value="high" />' + '<param name="menu" value="false" />' + '<param name="bgcolor" value="#FFFFFF" />' + '<param name="allowFullscreen" value="true" />' + '<param name="scale" value="noscale" />' + '<param name="allowScriptAccess" value="always" />' + '<param name="flashvars" value="visited=' + escape(rtv_visited_c.join('|')) + '&id=' + vi_config['id'] + '&vsuid=' + vid + parcel + '" />' + '</object>';
    } else {
        rtv_out += '<embed id="sia_sj' + vi_config['id'] + '" src="' + vi_config['fl_url'] + '" wmode="transparent" width="' + vi_config['w'] + '" height="' + vi_config['h'] + '" bgcolor="#FFFFFF" quality="high" scale="noscale" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" flashvars="visited=' + escape(rtv_visited_c.join('|')) + '&id=' + vi_config['id'] + '&vsuid=' + vid + parcel + '" >';
    }
    if (rtv_div) {
        rtv_div.innerHTML = rtv_out;
        vi_div_id[vi_config['id']] = rtv_div;
    } else {
        document.write('<div style="padding:0px;margin:0px;border:0px;" id="rtv_video_' + vi_config['id'] + '">' + rtv_out + '</div>');
        vi_div_id[vi_config['id']] = document.getElementById('rtv_video_' + vi_config['id']);
    }
}
//alert("W:" + getWindowWidth());
rtv_video();	
	


