" + "/script>";
document.write(OA_spc);
function OA_show(name) {
if (typeof (OA_output[name]) == 'undefined') {
return;
} else {
document.write(OA_output[name]);
}
}
function OA_show_Browser_Width(o) {
var a = $.extend(true, { 'div': '', 'width': 0, 'height': 0, 'url': '', 'imp': '', 'tarWidth': 1200, scrolToLog: false }, o), b = document.getElementById(a.div)
, c = function () { return window.top && window.top.innerWidth ? window.top.innerWidth : window.innerWidth ? window.innerWidth : 0; }
, d = window.top && window.top !== window;
if (b == null || b.innerHTML != '') {
return;
}
var _tarPos = function () {
var _b = $(b).offset().top, _c = $(window).scrollTop(), _h= $(window).height();
return _c + _h > _b && _c < _b;
}
var _fn = function () {
if (c() < a.tarWidth) {
return;
} else if (a.scrolToLog) {
if (!_tarPos())
return;
}
var s = [];
s.push('');
s.push('');
b.style.width = a.width;
b.style.height = a.height;
b.innerHTML = s.join('');
$(window).unbind('resize scroll', _fn);
if (d) {
window.parent.SetFrameHeight($(document).height());
}
}
if (a.scrolToLog) {
if (_tarPos() && c() >= a.tarWidth) {
_fn();
}
else {
$(window).bind('resize scroll', _fn);
}
} else if (c() >= a.tarWidth) {
_fn();
} else {
$(window).bind('resize', _fn);
}
}
function OA_ChkValid(a, b, c) {
try {
var _a = OA_output[a];
if (!(_a != null && _a != undefined && _a != '')) {
typeof b == 'function' ? b.apply(this, [{ ID: a }]) : '';
} else if (_a && $.trim(_a.replace(/\<\!\-\-[^\n]*\-\-\>/g, '')).length == 0) {
typeof b == 'function' ? b.apply(this, [{ ID: a }]) : '';
} else {
typeof c == 'function' ? c.apply(this, [{ ID: a }]) : '';
}
} catch (e) { }
}
function OA_ScrollToShow(id, name) {
var _tarPos = function () {
var _b = $(id).offset().top, _c = $(window).scrollTop(), _h = $(window).height();
return _c + _h > _b && _c < _b;
}
var _fn = function () {
try{
if (!_tarPos())
return;
$(id).append(OA_output[name]);
$(window).unbind('scroll', _fn);
} catch(e) {$(window).unbind('scroll', _fn);}
}
if ($(id).length == 0 || typeof (OA_output[name]) == 'undefined' || OA_output[name] == '') { return; } else { setTimeout(function () { $(window).bind('scroll', _fn); }, 0); }
}