
function insertFlash(elm, url, w, h, id) {
 if (!document.getElementById(elm)) return;
 var str = '';
 str += '<embed width="'+ w +'" height="'+ h +'" src="'+ url +'" quality="autohigh" wmode="opaque" type="application/x-shockwave-flash" plugspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" id='+id+'></embed>';
 document.getElementById(elm).innerHTML = str;
}



window.onerror = function(){} 
var divTop,divLeft,divWidth,divHeight,docHeight,docWidth,objTimer,i = 0; 
function getMsg() 
{ 
try{ 
divTop = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.top,10) 
divLeft = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.left,10) 
divHeight = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").offsetHeight,10) 
divWidth = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").offsetWidth,10) 
docWidth = document.body.clientWidth; 
//docWidth = (document.body.scrollLeft+document.body.offsetWidth)/2+500;
docHeight = (document.compatMode=="CSS1Compat")?document.documentElement.clientHeight : document.body.clientHeight;
docScrollTop = (document.compatMode=="CSS1Compat")?document.documentElement.scrollTop : document.body.scrollTop;
document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.top = parseInt(docScrollTop,10) + docHeight + 10;// divHeight 
document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.left = parseInt(document.body.scrollLeft,10) + docWidth - divWidth 
document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.visibility="visible" 
objTimer = window.setInterval("moveDiv()",10) 
} 
catch(e){} 
} 

function resizeDiv() 
{ 
try{ 
divHeight = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").offsetHeight,10) 
divWidth = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").offsetWidth,10) 
docWidth = document.body.clientWidth; 
//docWidth = (document.body.scrollLeft+document.body.offsetWidth)/2+500;
docHeight = (document.compatMode=="CSS1Compat")?document.documentElement.clientHeight : document.body.clientHeight;
docScrollTop = (document.compatMode=="CSS1Compat")?document.documentElement.scrollTop : document.body.scrollTop;
document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.top = docHeight - divHeight + parseInt(docScrollTop,10) 
document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.left = docWidth - divWidth + parseInt(document.body.scrollLeft,10) 
} 
catch(e){} 
} 

function moveDiv() 
{ 
try 
{ 
if(parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.top,10) <= (docHeight - divHeight + parseInt(docScrollTop,10))) 
{ 
window.clearInterval(objTimer) 
objTimer = window.setInterval("resizeDiv()",1) 
} 
divTop = parseInt(document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.top,10) 
document.getElementById("SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3").style.top = divTop - 1 
} 
catch(e){} 
} 
function closeDiv() 
{ 
document.getElementById('SouFunCSFR811C4A8C_C3A0_CE99_BC54_07E04BE28DD3').style.visibility='hidden'; 
insertFlash("811C4A8C_C3A0_CE99_BC54_07E04BE28DD3", "","", "");
if(objTimer) window.clearInterval(objTimer) 
}




