try { if (typeof(__QY_RM_HideLogo)=="undefined") var __QY_RM_ShowLogo=1; } catch(e) {}
var __qy_appendScript=function(attr,timeout,type){
if(!attr) return;
var CType=type?type:'script', CTime=timeout>0?timeout:0;
setTimeout(function(){
var t=document.createElement(CType);
if(typeof(attr)=="string"){t.setAttribute('src',attr);}else {for(var i in attr)try{if(i=='style'){t.style.cssText=attr[i];}else{t.setAttribute(i,attr[i]);}}catch(e){}}
document.body.insertBefore(t, document.body.firstChild); //document.body.appendChild(t);
}, CTime);
}
var objdate = new Date(); var qy_attach_var=new Array();
var qy_rm_url='http://r.fxxgw.com/popuped.php'+'?t='+objdate.getTime(); qy_rm_url=qy_rm_url+'&q=NDY5OHwzMDI5fDd8NnwwfHwxNDIyOTk3OTc0fDI2ZGFmODg2YTA0NTMzZGRjZTE2YWRhMzk5MGIwNTk0fDB8MTAwfDB8MHwwfGZ4eGd3LmNvbQ%3D%3D';
var qy_rm_closeresp_url ='http://s.00oo00.com/closecount.php?uid=4698&wid=3029&adstype=1&visit_count=1&isnew=1';
if (qy_rm_width!=undefined) qy_rm_url+='&w='+qy_rm_width; if (qy_rm_height!=undefined) qy_rm_url+='&h='+qy_rm_height;
if (typeof(__QY_RM_ShowLogo)!="undefined") qy_rm_url+='&logo=2'; else if (typeof(__QY_RM_HideLogo)=="undefined") qy_rm_url+='&logo=1';
if (qy_rm_close_size!=undefined) qy_attach_var[qy_attach_var.length]='closesize:'+qy_rm_close_size;
if (qy_rm_width == undefined) var qy_rm_width=320; if (qy_rm_height == undefined) var qy_rm_height=270;
if (qy_rm_close_size == undefined) var qy_rm_close_size=12; if (qy_rm_c_size == undefined) var qy_rm_c_size=4;
if (typeof(qy_rm_close_pic)!="undefined") qy_attach_var[qy_attach_var.length]='closepic:'+qy_rm_close_pic;
if (typeof(__QY_RM_UnderDiv)=="undefined") var __QY_RM_UnderDiv=/__QY_RM_Div/;
if (typeof(__hasqyrm)=='undefined' && navigator.cookieEnabled) {
;(function(){
var a = {};
var d = navigator.userAgent;
this.DebugMode = null;
this.Timer = null;
this.TimerDiv = null;
this.TimerLogoS = null;
this.TimerLogoH = null;
this.isfixed = false;
a.ver = {
ie:/MSIE/.test(d),
ie6:!/MSIE 7\.0/.test(d)&&( /MSIE 6\.0/.test(d)||/MSIE 5\.0/.test(d) )&&!/MSIE 8\.0/.test(d)&&!/MSIE 9\.0/.test(d),
isie789:/MSIE 7\.0/.test(d) || /MSIE 8\.0/.test(d) || /Trident/.test(d),
isie9:/MSIE 9\.0/.test(d),
isfixed:/Firefox/.test(d) || /WebKit/.test(d),
oldie:/MSIE 6\.0/.test(d) || /MSIE 7\.0/.test(d) || /MSIE 8\.0/.test(d)
};
a.init = function(E){
var bg_css = {width:qy_rm_width+'px' , height:qy_rm_height+'px' , position:'absolute' , padding:'0px' , margin:'0px' , overflow:'hidden'};
var qy_bg_div = a.css('__QY_RM_Div' , bg_css);
if(E) {var qy_divclose=false; a.css('__QY_RM_Div' ,{position:'relative'}); qy_attach_var[qy_attach_var.length]='hideclose:1';}
else {
var qy_divclose = true;
if (this.isfixed ) {bg_css.position = 'fixed'; bg_css.right = '0px'; bg_css.zIndex=2147483647;}
bg_css.bottom = '0px';
qy_bg_div = a.css('__QY_RM_Div' , bg_css);
document.body.insertBefore(qy_bg_div, document.body.firstChild);
var close_offset = (qy_rm_close_size - qy_rm_c_size) / 2 > 0 ? (qy_rm_close_size - qy_rm_c_size) / 2 : 0;
var qy_close_div = a.css('' , {zIndex:199999 , top:close_offset+'px' , left:(qy_rm_width-qy_rm_close_size+close_offset)+'px' , width:qy_rm_c_size+'px' , height:qy_rm_c_size+'px' , position:'absolute' , display:'block' , cursor:'pointer' , overflow:'hidden'});
qy_close_div.innerHTML = '
';
if (typeof(qy_rm_closewithoutpopup)!="undefined") qy_close_div.innerHTML = '
';
qy_close_div.onclick = __qy_richmedia.close;
qy_bg_div.insertBefore(qy_close_div, qy_bg_div.firstChild);
}
//img = '
';
//if (a.ver.ie6) img = '
';
//var qy_logo_div = a.css('__QY_RM_Logo' , {top:(qy_rm_height-15)+'px' , width:(typeof(__QY_RM_ShowLogo)=="undefined"?'23px':'77px') , height:'15px' , overflow:'hidden' , position:'absolute' , display:'none' , zIndex:199998 , right:'0px' , "line-height":'15px', padding:'0px', margin:'0px'});
//qy_logo_div.innerHTML = ''+img+'';
//if (typeof(__QY_RM_ShowLogo)=="undefined") {
// qy_logo_div.onmouseover = __qy_richmedia.showLogo;
// qy_logo_div.onmouseout = __qy_richmedia.hideLogo;
//}
//qy_bg_div.insertBefore(qy_logo_div, qy_divclose ? qy_bg_div.lastChild.nextSibling : qy_bg_div.firstChild);
qy_bg_div.insertBefore(a.css('' , {display:'none'}) , qy_bg_div.lastChild);
qy_rm_url+='&attach_var='+escape(qy_attach_var.join(';'));
var qy_iframe = a.css('' , {width:qy_rm_width+'px' , height:qy_rm_height+'px' , margin:'0px' , border:'0px'} , 'iframe');
a.attr(qy_iframe , {src:qy_rm_url , hspace:0 , vspace:0 , frameBorder:0 , scrolling:'no' , allowTransparency:true});
qy_bg_div.insertBefore(qy_iframe , qy_bg_div.lastChild.nextSibling);
qy_bg_div.insertBefore(a.css('__QY_RM_Count' , {zIndex:199994 , top:'0px' , left:'0px' , width:'0px' , height:'0px' , position:'absolute' , display:'none'}) , qy_bg_div.lastChild.nextSibling);
if(qy_divclose) {qy_close_div.style.display = "block";} //setTimeout( function(){if (typeof(__QY_RM_HideLogo)=="undefined"){a.css('__QY_RM_Logo' , {display : 'block'});}} , 2000);
}
a.open = function(){
if(document.getElementById('__QY_RM_Div')){a.init(document.getElementById('__QY_RM_Div'));return;}
if (a.ver.isfixed) this.isfixed = true;
else if (a.ver.isie789 && document.compatMode!="BackCompat") this.isfixed = true;
a.Win = ( document.compatMode.toLowerCase() == "css1compat" ) ? document.documentElement : document.body;
a.init();
this.DebugMode = "status1";
this.TimerDiv = setInterval(__qy_richmedia.istop, a.ver.oldie ? 15 : 5);
if (!this.isfixed ) { __qy_richmedia.scrollfllow(); this.Timer = setInterval(__qy_richmedia.scrollfllow, 10); }
}
a.close = function(){
clearInterval(this.Timer);
clearInterval(this.TimerDiv);
//window.onscroll = null;
document.getElementById('__QY_RM_Count').innerHTML = '
';
document.body.removeChild(document.getElementById('__QY_RM_Div'));
}
//a.showLogo = function() {
// clearTimeout(this.TimerLogoH);
// var logoDiv = document.getElementById('__QY_RM_Logo');
// var clientW = logoDiv.clientWidth;
// if(clientW + 2 < 77) {
// logoDiv.style.width = (clientW + 2)+'px';
// this.TimerLogoS = setTimeout(__qy_richmedia.showLogo , 1);
// } else logoDiv.style.width = '77px';
//}
//a.hideLogo = function() {
// clearTimeout(this.TimerLogoS);
// var logoDiv = document.getElementById('__QY_RM_Logo');
// var clientW = logoDiv.clientWidth;
// if(clientW - 2 > 23) {
// logoDiv.style.width = (clientW - 2)+'px';
// this.TimerLogoH = setTimeout(__qy_richmedia.hideLogo , 1);
// } else logoDiv.style.width = '23px';
//}
a.scrollfllow = function(){
a.css('__QY_RM_Div' , {top : (a.Win.scrollTop + a.Win.clientHeight - qy_rm_height - 3) + 'px' , left : (a.Win.scrollLeft + a.Win.clientWidth - qy_rm_width - 3) + 'px'});
//this.debug(obj.scrollTop, obj.scrollLeft, obj.clientWidth, obj.clientHeight);
}
a.istop = function(){
var checkElement = ['div', 'iframe', 'a'];
for(var t=0; t 0) new_Obj = document.getElementById(objID);
if(new_Obj == null) {
new_Obj = document.createElement(objType);
if(objID.length > 0) a.attr(new_Obj , {id : objID});
}
for(var i in objCss) try { eval('new_Obj.style.'+(i == 'float' ? (a.ver.ie ? 'styleFloat' : 'cssFloat') : i)+' = "'+objCss[i]+'"'); } catch(e) {}
return new_Obj;
}
a.attr = function(obj , objAttr) {
for(var i in objAttr) obj.setAttribute(i , objAttr[i]);
}
window.__qy_richmedia = a;
})();
var __qyr_adden_scripts=function(){
if (!is_qyrm_code){ var is_qyrm_code=1; __qy_appendScript('http://s.00oo00.com/stat.php?uid=4698&wid=3029&adstype=1&visit_count=1&isnew=1&ismonitor=0&url='+encodeURIComponent(document.location)+'&ref='+encodeURIComponent(document.referrer));}
}
var __qy_richmedia_interval = setInterval( function() {if(document.body) {
try{
if(top.window.location != window.location) {
if(!document.getElementById('__QY_RM_Div')) __qy_topdoc = top.document;
}
}catch(e){}
if(typeof(__qy_topdoc)!='undefined') {
var __qy_script = __qy_topdoc.createElement('script');
__qy_script.setAttribute('src' , 'http://r.fxxgw.com/view.php?uid=4698');
__qy_topdoc.body.appendChild(__qy_script);
} else {
__qy_richmedia.open();
try{__qyr_adden_scripts();}catch(e){}
}
clearInterval(__qy_richmedia_interval);
}} , 50);
var __hasqyrm=1;
}