var nocache
window.sbtimeout_counter=0
var sbinterval_envoy_scr
window.sbjs=1
window.passport=1
var _sbd=document
var _sdl=_sbd.location
var sb_br_alias=new Object()
sb_br_alias['n']=new Object()
sb_br_alias['v']=new Object()
var sb_os_alias=new Object()
sb_os_alias['n']=new Object()
sb_os_alias['v']=new Object()
sb_br_alias['n']['omniweb']='Omniweb';sb_br_alias['n']['opera']='Opera';sb_br_alias['n']['crazy']='Crazy Browser';sb_br_alias['n']['myie2']='MyIE2';sb_br_alias['n']['netcaptor']='NetCaptor';sb_br_alias['n']['avantbrowser']='Avant Browser';sb_br_alias['n']['msn']='MSN Explorer';sb_br_alias['n']['msie']='IE';sb_br_alias['n']['powermarks']='PowerMarks';sb_br_alias['n']['konqueror']='Konqueror';sb_br_alias['n']['safari']='Safari';sb_br_alias['n']['zyborg']='Zyborg';sb_br_alias['n']['netscape']='Netscape';sb_br_alias['n']['galeon']='Galeon';sb_br_alias['n']['nautilus']='Nautilus';sb_br_alias['n']['firefox']='Firefox';sb_br_alias['n']['kmeleon']='K-Meleon';sb_br_alias['n']['firebird']='Firebird';sb_br_alias['n']['phoenix']='Phoenix';sb_br_alias['n']['camino']='Camino';sb_br_alias['n']['epiphany']='Epiphany';sb_br_alias['n']['chimera']='Chimera';sb_br_alias['n']['icab']='iCab';sb_br_alias['n']['netfront']='Netfront';sb_br_alias['n']['mozsea']='Mozilla Seamonkey';sb_br_alias['n']['elinks']='ELinks';sb_br_alias['n']['w3m']='w3m';sb_br_alias['n']['links']='Links';sb_br_alias['n']['java']='Java';sb_br_alias['n']['lynx']='Lynx';sb_br_alias['n']['dillo']='Dillo Bot';sb_br_alias['n']['wget']='wget';sb_br_alias['n']['googlebotimg']='Google Bot';sb_br_alias['n']['googlebot']='Google Bot';sb_br_alias['n']['msnbot']='MSN Bot';sb_br_alias['n']['turnitinbot']='Turnitin Bot';sb_br_alias['n']['unknown']='Other'
sb_br_alias['v']['msie']='IE';sb_br_alias['v']['gecko']='Gecko';sb_br_alias['v']['mozold']='Netscape'
sb_os_alias['n']['wince']='Windowse CE';sb_os_alias['n']['win']='Windows';sb_os_alias['n']['linux']='Linux';sb_os_alias['n']['macosx']='Mac OS X';sb_os_alias['n']['freebsd']='FreeBSD';sb_os_alias['n']['sunos']='SunOS';sb_os_alias['n']['irix']='IRIX';sb_os_alias['n']['openbsd']='OpenBSD';sb_os_alias['n']['macclassic']='Macintosh';sb_os_alias['n']['os2']='OS/2';sb_os_alias['n']['openvms']='OpenVMS';sb_os_alias['n']['amigaos']='Amiga OS';sb_os_alias['n']['hurd']='Hurd';sb_os_alias['n']['hpux']='HPUX';sb_os_alias['n']['unix']='Unix';sb_os_alias['n']['cygwin']='Cygwin';sb_os_alias['n']['java']='Java';sb_os_alias['n']['palmos']='PalmOS';sb_os_alias['n']['symbian']='Symbian';sb_os_alias['n']['unknown']='Other'
sb_os_alias['v']['xp']='XP';sb_os_alias['v']['2000']='2000';sb_os_alias['v']['98']='98';sb_os_alias['v']['me']='ME';sb_os_alias['v']['win2k3']='2003';sb_os_alias['v']['95']='95';sb_os_alias['v']['nt4']='NT 4.0';sb_os_alias['v']['unknown']=''
var sb_br=new Array(4)
var sb_os=new Array(2)
sb_br=sb_getBrowser()
sb_os=sb_getOS()
var sbbcn=(sb_br_alias['n'][sb_br[0]] ? sb_br_alias['n'][sb_br[0]] : sb_br[0])
var sbbcv=sb_br[1]
var sbbn=(sb_br_alias['v'][sb_br[2]] ? sb_br_alias['v'][sb_br[2]] : sb_br[2])
var sbbv=sb_br[1]
var sbos=(sb_os_alias['n'][sb_os[0]] ? sb_os_alias['n'][sb_os[0]] : sb_os[0])+' '+(typeof(sb_os_alias['v'][sb_os[1]])!='undefined' ? sb_os_alias['v'][sb_os[1]] : sb_os[1])
var vbPluginInstall=0,sbfl
var flash=new Array(2)
flash=sb_hasFlashPlugin()
if(flash[0]==2){
sbfl=1
}else{
sbfl=0}
function sb_getBrowser(obj){
var b=new Array("unknown","unknown","unknown","unknown")
(sb_isEmpty(obj)? brs=navigator.userAgent.toLowerCase(): brs=obj)
if(brs.search(/omniweb[\/\s]v?(\d+([\.-]\d)*)/)!=-1){
b[0]="omniweb"
b[1]=brs.match(/omniweb[\/\s]v?(\d+([\.-]\d)*)/)[1]
(b[1]>4.5 ? b[2]="khtml" : b[2]="omniweb")
(brs.search(/omniweb[\/\s]((\d+([\.-]\d)*)-)?v(\d+([\.-]\d)*)/)==-1 ? b[3]=brs.match(/omniweb[\/\s](\d+([\.-]\d)*)/)[1] : b[3]=brs.match(/omniweb[\/\s]((\d+([\.-]\d)*)-)?v(\d+([\.-]\d)*)/)[4])
return b
}else if(brs.search(/opera[\/\s](\d+(\.?\d)*)/)!=-1){
b[0]="opera"
b[1]=brs.match(/opera[\/\s](\d+(\.?\d)*)/)[1]
b[2]="opera"
b[3]=b[1]
return b
}else if(brs.search(/crazy\s?browser\s(\d+(\.?\d)*)/)!=-1){
b[0]="crazy"
b[1]=brs.match(/crazy\s?browser\s(\d+(\.?\d)*)/)[1]
b[2]="msie"
b[3]=sb_getMSIEVersion()
return b
}else if(brs.search(/myie2/)!=-1){
b[0]="myie2"
b[2]="msie"
b[3]=brs.match(/msie\s(\d+(\.?\d)*)/)[1]
return b
}else if(brs.search(/netcaptor/)!=-1){
b[0]="netcaptor"
b[1]=brs.match(/netcaptor\s(\d+(\.?\d)*)/)[1]
b[2]="msie"
b[3]=sb_getMSIEVersion()
return b
}else if(brs.search(/avant\sbrowser/)!=-1){
b[0]="avantbrowser"
b[2]="msie"
b[3]=sb_getMSIEVersion()
return b
}else if(brs.search(/msn\s(\d+(\.?\d)*)/)!=-1){
b[0]="msn"
b[1]=brs.match(/msn\s(\d+(\.?\d)*)/)[1]
b[2]="msie"
b[3]=sb_getMSIEVersion()
return b
}else if(brs.search(/msie\s(\d+(\.?\d)*)/)!=-1){
b[0]="msie"
b[1]=sb_getMSIEVersion()
b[2]="msie"
b[3]=b[1]
return b
}else if(brs.search(/powermarks\/(\d+(\.?\d)*)/)!=-1){
b[0]="powermarks"
b[1]=brs.match(/powermarks\/(\d+(\.?\d)*)/)[1]
b[2]="msie"
try{
b[3]=sb_getMSIEVersion()
}catch(e){}
return b
}else if(brs.search(/konqueror[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="konqueror"
b[1]=brs.match(/konqueror[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="khtml"
return b
}else if(brs.search(/safari\/(\d)*/)!=-1){
b[0]="safari"
b[1]=brs.match(/safari\/(\d+(\.?\d*)*)/)[1]
b[2]="khtml"
b[3]=brs.match(/applewebkit\/(\d+(\.?\d*)*)/)[1]
return b
}else if(brs.search(/zyborg/)!=-1){
b[0]="zyborg"
b[1]=brs.match(/zyborg\/(\d+(\.?\d)*)/)[1]
b[2]="robot"
b[3]="-1"
return b
}else if(brs.search(/netscape6[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="netscape"
b[1]=brs.match(/netscape6[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/netscape\/(7\.\d*)/)!=-1){
b[0]="netscape"
b[1]=brs.match(/netscape\/(7\.\d*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/galeon[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="galeon"
b[1]=brs.match(/galeon[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/nautilus[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="nautilus"
b[1]=brs.match(/nautilus[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/firefox[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="firefox"
b[1]=brs.match(/firefox[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/k-meleon[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="kmeleon"
b[1]=brs.match(/k-meleon[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/playstation\s3/)!=-1){
b[0]="netfront"
b[1]="2.81"
b[2]="playstation3"
b[3]=brs.match(/playstation\s3;\s(\d+\.\d+)/)[1]
return b
}else if(brs.search(/firebird[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="firebird"
b[1]=brs.match(/firebird[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/phoenix[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="phoenix"
b[1]=brs.match(/phoenix[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/camino[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="camino"
b[1]=brs.match(/camino[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/epiphany[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="epiphany"
b[1]=brs.match(/epiphany[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/chimera[\/\s](\d+([\.-]\d)*)/)!=-1){
b[0]="chimera"
b[1]=brs.match(/chimera[\/\s](\d+([\.-]\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/icab[\s\/]?(\d+(\.?\d)*)/)!=-1){
b[0]="icab"
b[1]=brs.match(/icab[\s\/]?(\d+(\.?\d)*)/)[1]
b[2]="icab"
b[3]=b[1]
return b
}else if(brs.search(/netfront\/(\d+([\._]\d)*)/)!=-1){
b[0]="netfront"
b[1]=brs.match(/netfront\/(\d+([\._]\d)*)/)[1]
b[2]="netfront"
b[3]=b[1]
return b
}else if(brs.search(/netscape4\/(\d+([\.-]\d)*)/)!=-1){
b[0]="netscape"
b[1]=brs.match(/netscape4\/(\d+([\.-]\d)*)/)[1]
b[2]="mozold"
b[3]=b[1]
return b
}else if((brs.search(/mozilla\/(4.\d*)/)!=-1)&&(brs.search(/msie\s(\d+(\.?\d)*)/)==-1)){
b[0]="netscape"
b[1]=brs.match(/mozilla\/(4.\d*)/)[1]
b[2]="mozold"
b[3]=b[1]
return b
}else if((brs.search(/mozilla\/5.0/)!=-1)&&(brs.search(/gecko\
b[0]="mozsea"
b[1]=brs.match(/rv\x3a(\d+(\.?\d)*)/)[1]
b[2]="gecko"
b[3]=sb_getGeckoVersion()
return b
}else if(brs.search(/elinks/)!=-1){
b[0]="elinks"
(brs.search(/elinks\/(\d+(\.?\d)*)/)==-1 ? b[1]=brs.match(/elinks\s\x28(\d+(\.?\d)*)/)[1] : b[1]=brs.match(/elinks\/(\d+(\.?\d)*)/)[1])
b[2]="elinks"
b[3]=b[1]
return b
}else if(brs.search(/w3m\/(\d+(\.?\d)*)/)!=-1){
b[0]="w3m"
b[1]=brs.match(/(^w3m|\sw3m)\/(\d+(\.?\d)*)/)[2]
b[2]="w3m"
b[3]=b[1]
return b
}else if(brs.search(/links/)!=-1){
b[0]="links"
(brs.search(/links\/(\d+(\.?\d)*)/)==-1 ? b[1]=brs.match(/links\s\x28(\d+(\.?\d)*)/)[1] : b[1]=brs.match(/links\/(\d+(\.?\d)*)/)[1])
b[2]="links"
b[3]=b[1]
return b
}else if(brs.search(/java[\/\s]?(\d+([\._]\d)*)/)!=-1){
b[0]="java"
b[1]=brs.match(/java[\/\s]?(\d+([\._]\d)*)/)[1]
b[2]="java"
b[3]=b[1]
return b
}else if(brs.search(/lynx/)!=-1){
b[0]="lynx"
b[1]=brs.match(/lynx\/(\d+(\.?\d)*)/)[1]
b[2]="libwww-fm"
b[3]=brs.match(/libwww-fm\/(\d+(\.?\d)*)/)[1]
return b
}else if(brs.search(/dillo/)!=-1){
b[0]="dillo"
b[1]=brs.match(/dillo\s*\
)[1]))}
function sb_getMinorVersion(v){
return(!sb_isEmpty(v)?(!sb_hasDot(v)? v.match(/\.(\d*([-\.]\d*)*)/)[1] : 0):
-1)}
function sb_getOS(obj){
var os=new Array("unknown","unknown")
(sb_isEmpty(obj)? brs=navigator.userAgent.toLowerCase(): brs=obj)
if(brs.search(/windows\sce/)!=-1){
os[0]="wince"
try{
os[1]=brs.match(/windows\sce\/(\d+(\.?\d)*)/)[1]
}catch(e){}
return os
}else if((brs.search(/windows/)!=-1)||((brs.search(/win9\d{1}/)!=-1))
){
os[0]="win"
if(brs.search(/nt\s5\.1/)!=-1){
os[1]="xp"
}else if(brs.search(/nt\s5\.0/)!=-1){
os[1]="2000"
}else if((brs.search(/win98/)!=-1)||(brs.search(/windows\s98/)!=
-1)){
os[1]="98"
}else if(brs.search(/windows\sme/)!=-1){
os[1]="me"
}else if(brs.search(/nt\s5\.2/)!=-1){
os[1]="win2k3"
}else if((brs.search(/windows\s95/)!=-1)||(brs.search(/win95/)!=
-1)){
os[1]="95"
}else if((brs.search(/nt\s4\.0/)!=-1)||(brs.search(/nt4\.0/))!=
-1){
os[1]="nt4"}
return os
}else if(brs.search(/linux/)!=-1){
os[0]="linux"
try{
os[1]=brs.match(/linux\s?(\d+(\.?\d)*)/)[1]
}catch(e){}
return os
}else if(brs.search(/mac\sos\sx/)!=-1){
os[0]="macosx"
return os
}else if(brs.search(/freebsd/)!=-1){
os[0]="freebsd"
try{
os[1]=brs.match(/freebsd\s(\d(\.\d)*)*/)[1]
}catch(e){}
return os
}else if(brs.search(/sunos/)!=-1){
os[0]="sunos"
try{
os[1]=brs.match(/sunos\s(\d(\.\d)*)*/)[1]
}catch(e){}
return os
}else if(brs.search(/irix/)!=-1){
os[0]="irix"
try{
os[1]=brs.match(/irix\s(\d(\.\d)*)*/)[1]
}catch(e){}
return os
}else if(brs.search(/openbsd/)!=-1){
os[0]="openbsd"
try{
os[1]=brs.match(/openbsd\s(\d(\.\d)*)*/)[1]
}catch(e){}
return os
}else if((brs.search(/macintosh/)!=-1)||(brs.search(/mac\x5fpowerpc/)
!=-1)){
os[0]="macclassic"
return os
}else if(brs.search(/os\/2/)!=-1){
os[0]="os2"
try{
os[1]=brs.match(/warp\s((\d(\.\d)*)*)/)[1]
}catch(e){}
return os
}else if(brs.search(/openvms/)!=-1){
os[0]="openvms"
try{
os[1]=brs.match(/openvms\sv((\d(\.\d)*)*)/)[1]
}catch(e){}
return os
}else if((brs.search(/amigaos/)!=-1)||(brs.search(/amiga/)!=-1)){
os[0]="amigaos"
try{
os[1]=brs.match(/amigaos\s?(\d(\.\d)*)*/)[1]
}catch(e){}
return os
}else if(brs.search(/hurd/)!=-1){
os[0]="hurd"
return os
}else if(brs.search(/hp\-ux/)!=-1){
os[0]="hpux"
try{
os[1]=brs.match(/hp\-ux\sb\.[\/\s]?(\d+([\._]\d)*)/)[1]
}catch(e){}
return os
}else if((brs.search(/unix/)!=-1)||(brs.search(/x11/)!=-1)){
os[0]="unix"
return os
}else if(brs.search(/cygwin/)!=-1){
os[0]="cygwin"
return os
}else if(brs.search(/java[\/\s]?(\d+([\._]\d)*)/)!=-1){
os[0]="java"
try{
os[1]=brs.match(/java[\/\s]?(\d+([\._]\d)*)/)[1]
}catch(e){}
return os
}else if(brs.search(/palmos/)!=-1){
os[0]="palmos"
return os
}else if(brs.search(/symbian\s?os\/(\d+([\._]\d)*)/)!=-1){
os[0]="symbian"
try{
os[1]=brs.match(/symbian\s?os\/(\d+([\._]\d)*)/)[1]
}catch(e){}
return os
}else{
os[0]="unknown"
return os}}
function sb_getGeckoVersion(){
return brs.match(/gecko\/([0-9]+)/)[1]}
function sb_getMSIEVersion(){
return brs.match(/msie\s(\d+(\.?\d)*)/)[1]}
function sb_getFullUAString(obj){
(sb_isEmpty(obj)? brs=navigator.userAgent.toLowerCase(): brs=obj)
return brs}
function sb_hasFlashPlugin(obj){
(sb_isEmpty(obj)? brs=navigator.userAgent.toLowerCase(): brs=obj)
var f=new Array("0","0")
var brwEng=sb_getBrowser(obj)[2]
var opSys=sb_getOS(obj)[0]
if((brwEng=="gecko")||(brwEng=="opera")||(brwEng=="khtml")||(brwEng=="mozold")||(opSys=="macosx")||(opSys=="macclassic")){
if(navigator.plugins&&navigator.plugins.length){
x=navigator.plugins["Shockwave Flash"]
if(x){
f[0]=2
if(x.description){
y=x.description
f[1]=y.charAt(y.indexOf('.')-1)}
}else{
f[0]=1}
if(navigator.plugins["Shockwave Flash 2.0"]){
f[0]=2
f[0]=2}
}else if(navigator.mimeTypes&&navigator.mimeTypes.length){
x=navigator.mimeTypes['application/x-shockwave-flash']
if(x&&x.enabledPlugin){
f[0]=2
}else{
f[0]=1}}
return f
}else if(brwEng=="msie"){
for(var i=15;i>0;i--){
try{
var flash=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i)
f[1]=i
break
}catch(e){}}
if(f[1]>0){
f[0]=2
}else{
f[0]=1}
return f
}else{
f[0]=0
f[1]=0
return f}}
function sb_popupsAllowed(){
var allowed=false
var w=window.open("about:blank","","directories=no,height=1,width=1,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,left=0,top=0,location=no")
if(w){
allowed=true
w.close()}
return allowed}
function sb_isEmpty(input){
return(input==null || input=="")}
function sb_hasDot(input){
return(input.search(/\./)==-1)}
function sb_getCookie(name){
var dc=document.cookie
var prefix=name+"="
var begin=dc.indexOf("; "+prefix)
if(begin==-1){
begin=dc.indexOf(prefix)
if(begin !=0)return ''}
else{
begin+=2}
var end=document.cookie.indexOf(";",begin)
if(end==-1){
end=dc.length}
return unescape(dc.substring(begin+prefix.length,end))}
function sbcheck_timeout(sbscript_id){
if(++sbtimeout_counter>=sbtimeout){
eval('clearInterval(sbinterval_'+sbscript_id+');')
var sbext_scr=document.getElementById(sbscript_id)
if(sbext_scr){
if(!document.all){
sbext_scr.src=''}
if(window.sbtimeoutsticky){
document.cookie="sbtimeout=1"}
var sbext_scrParent=sbext_scr.parentNode
sbext_scrParent.removeChild(sbext_scr)}}}
function sb_opacity(id,opacStart,opacEnd,millisec){
var speed=Math.round(millisec/100)
var timer=0
if(opacStart>opacEnd){
for(i=opacStart;i>=opacEnd;i--){
setTimeout("sb_changeOpac("+i+",'"+id+"')",(timer*speed))
timer++}
}else if(opacStart<opacEnd){
for(i=opacStart;i<=opacEnd;i++){
setTimeout("sb_changeOpac("+i+",'"+id+"')",(timer*speed))
timer++}}}
function sb_changeOpac(opacity,id){
var object=document.getElementById(id).style
object.opacity=(opacity/100)
object.MozOpacity=(opacity/100)
object.KhtmlOpacity=(opacity/100)
object.filter="alpha(opacity="+opacity+")"}
function sb_check_cs_master_status(sb_cs_width,sb_cs_height,sb_cs_index,sbdw){
var sb_cs_id=sb_cs_width+'x'+sb_cs_height
if(window.sb_cs_embed){
if(window.sb_cs_embed&&window.sb_cs_embed[sb_cs_id]&&typeof(window.sb_cs_embed[sb_cs_id]['counter'])=='undefined'){
window.sb_cs_embed[sb_cs_id]['counter']=0}
else if(window.sb_cs_embed&&window.sb_cs_embed[sb_cs_id]){
window.sb_cs_embed[sb_cs_id]['counter']++}}
if(window.sb_cs_master_status=='done' ||(window.sb_cs_embed&&window.sb_cs_embed[sb_cs_id]&&window.sb_cs_embed[sb_cs_id]['counter']>10)){
if(document.getElementById('sb_cs_div_'+sb_cs_id+'_'+sb_cs_index)){
eval('window.clearInterval(window.sb_interval_id_'+sb_cs_id+'_'+sb_cs_index+');')
if(window.sb_cs_embed&&window.sb_cs_embed[sb_cs_id]){
document.getElementById('sb_cs_div_'+sb_cs_id+'_'+sb_cs_index).innerHTML=window.sb_cs_embed[sb_cs_id]['code']
_sbfloatingdiv=document.getElementById('sbfloatingdiv')
if(_sbfloatingdiv !=null&&sb_cs_width==1&&sb_cs_height==1){
var _sbscreenwidth=0,_sbscreenheight=0
if(typeof(window.innerWidth)=='number'){
_sbscreenwidth=window.innerWidth
_sbscreenheight=window.innerHeight
}else if(document.documentElement&&(document.documentElement.clientWidth || document.documentElement.clientHeight)){
_sbscreenwidth=document.documentElement.clientWidth
_sbscreenheight=document.documentElement.clientHeight
}else if(document.body&&(document.body.clientWidth || document.body.clientHeight)){
_sbscreenwidth=document.body.clientWidth
_sbscreenheight=document.body.clientHeight}
var _sbparentdiv=_sbfloatingdiv.parentNode
var sb_popupLeft=parseInt((_sbscreenwidth/2)-_sbfloatingdiv.style.width.substr(0,_sbfloatingdiv.style.width.length-2)/2)
var sb_popupTop=parseInt((_sbscreenheight/2)-_sbfloatingdiv.style.height.substr(0,_sbfloatingdiv.style.height.length-2)/2)
if(sbbn=="IE"&&sbbv>=7&&_sbparentdiv.offsetParent !=null){_sbfloatingdiv.style.position='absolute';}
else if(sbbn=="IE"&&sbbv<7){_sbfloatingdiv.style.position='absolute';}
else{_sbfloatingdiv.style.position='fixed';}
_sbfloatingdiv.style.top=sb_popupTop+'px'
_sbfloatingdiv.style.left=sb_popupLeft+'px'
_sbparentdiv.style.display='inline'
sb_changeOpac(0,_sbfloatingdiv.id)
if(window.sbfdivmodal==1 || _sbfloatingdiv.title.split("|",1)==1){
if((sbbn=="IE"&&sbbv>=7)|| sbbn!="IE"){
var _sbmodalfdiv=document.createElement("div")
_sbmodalfdiv.id='sbmodalfdiv'
_sbparentdiv.appendChild(_sbmodalfdiv)
if(sbbn=="IE"&&sbbv>=7&&_sbparentdiv.offsetParent !=null){_sbmodalfdiv.style.position='absolute';}
else if(sbbn=="IE"&&sbbv<7){_sbmodalfdiv.style.position='absolute';}
else{_sbmodalfdiv.style.position='fixed';}
_sbmodalfdiv.style.display='inline'
_sbmodalfdiv.style.top='0px'
_sbmodalfdiv.style.left='0px'
if(sbbn=="IE"){
_sbmodalfdiv.style.width=_sbscreenwidth
_sbmodalfdiv.style.height=_sbscreenheight}
else{
_sbmodalfdiv.style.width="100%"
_sbmodalfdiv.style.height="100%"}
_sbmodalfdiv.style.backgroundColor='#000000'
sb_changeOpac(40,_sbmodalfdiv.id)
_sbmodalfdiv.style.zIndex='990001'}}
_sbfloatingdiv.title=''
_sbparentdiv.style.zIndex='990000'
_sbfloatingdiv.style.zIndex='990002'
sb_opacity(_sbfloatingdiv.id,0,100,1000)}}
else{
document.getElementById('sb_cs_div_'+sb_cs_id+'_'+sb_cs_index).innerHTML='<img src="'+_sdl.protocol+'//'+sbpurl+'/v3/tailor.sb?sbaid='+sbaid+'&sbjs=-1&sbdw='+sbdw+'&sbcw='+sb_cs_width+'&sbch='+sb_cs_height+'&sbpurl='+escape(unescape(self.location.href))+'&sbgid='+escape(unescape(sbgid))+'" width="'+sb_cs_width+'" height="'+sb_cs_height+'">'}}}}
function sitebrandInclude(){
window.nocache=Math.floor(Math.random()*1000000000)
window.sbtimeout_counter=0
window.sbinterval_envoy_scr=setInterval('sbcheck_timeout(\'envoy_scr\')',1000)
window.sbtimeout=(window.sbtimeout ? window.sbtimeout : 5)
window.sbdw=(window.sb_debug&&window.sb_debug==1 ? 1 : 0)
window.sbslave_interval=100
if((sb_os[0]=='macclassic' || sb_os[0]=='macosx')&&sb_br[0]=='msie'){
window.sbslave_interval=2500}
if(sb_getCookie('sbtimeout')==1&&window.sbtimeoutsticky){
window.passport=0}
if(!window.disable_sb_optimize){
if(_sdl.hash)_sdlh=_sdl.href.substring(_sdl.href.indexOf('#'))
if(!document.layers){
if(typeof(window.sb_cs_index)=='undefined'){
window.sb_cs_index=0}
else{
window.sb_cs_index++}
if(window.sbwidth>1&&window.sbheight>1){
document.open()
document.write('<div id="sb_cs_div_'+window.sbwidth+'x'+window.sbheight+'_'+window.sb_cs_index+'" style="display:inline; margins:0px"></div>')
document.close()}
else if(window.sbwidth<=1&&window.sbheight<=1){
document.open()
document.write('<div id="sb_cs_div_'+window.sbwidth+'x'+window.sbheight+'_'+window.sb_cs_index+'" style="display:none;position:fixed"></div>')
document.close()}
eval('window.sb_interval_id_'+window.sbwidth+'x'+window.sbheight+'_'+window.sb_cs_index+' = window.setInterval("sb_check_cs_master_status('+window.sbwidth+','+window.sbheight+','+window.sb_cs_index+','+sbdw+')",window.sbslave_interval);')}
else{
document.open()
document.write('<img src="'+_sdl.protocol+'//'+sbpurl+'/v3/tailor.sb?sbaid='+sbaid+'&sbjs='+sbjs+'&sbdw='+sbdw+'&sbcw='+window.sbwidth+'&sbch='+window.sbheight+'&sbpurl='+escape(unescape(_sbd))+'&sbgid='+escape(unescape(sbgid))+'" width="'+window.sbwidth+'" height="'+window.sbheight+'">')
document.close()}
if(typeof(!document.layers&&window.sb_cs_master_status)=='undefined'){
window.sb_cs_master_status='elected'}
else if(!document.layers&&window.sb_cs_master_status !='aborted'){
window.passport=0
window.sbwidth=null
window.sbheight=null}
}else{
document.open()
document.write('<span id="sb_opt_disabled_'+window.sbwidth+'x'+window.sbheight+'"></span>')
document.close()}
if(window.passport){
document.write('<script language=\'Javascript\' src=\''+_sdl.protocol+'//'+sbpurl+'/v3/envoy.sb?sbaid='+sbaid+'&sbbn='+sbbn+'&sbbv='+sbbv+'&sbfl='+sbfl+'&sbos='+sbos+'&nocache='+nocache+'\'></script>')}}
