/*

 buySAFE Rollover Core
 Copyright 2011, buySAFE, Inc.
 $Revision: 1.47 $

 SWFObject v1.4.4/1.5: Flash Player detection and embed - blog.deconcept.com/swfobject/
 SWFObject is (c) 2006/2007 Geoff Stearns and is released under the MIT License:
 www.opensource.org/licenses/mit-license.php

 Browser detection adapted from http://www.quirksmode.org/js/detect.html
*/
var bs_R,bsUndef="undefined";if(typeof bs_R==bsUndef||!bs_R)bs_R={};bs_R.GetCodeBase=function(){for(var a=document.getElementsByTagName("script"),b,c=0;c<a.length;c++)if(b=a[c].src.substr(0,100).match(/(.*\/private\/.*\/)rollover(?:\.unpacked)?\.js/i))return b[1];return"https://seal.buysafe.com/private/rollover/"};if(!bs_R.sRoot)bs_R.sRoot=bs_R.GetCodeBase();
bs_R.onWinEvent=function(a,b){var c=window,d=c.addEventListener||document.addEventListener;c=c.attachEvent;var e="on"+a;if(d)d(a,b,false);else c&&c(e,b)};bs_R.onLoad=function(a){if(bs_R.fOnLoad)a&&a();else bs_R.onWinEvent("load",a)};bs_R.AddJS=function(a,b){var c=document.createElement("script");c.type="text/javascript";c.src=a;var d=document.getElementsByTagName("script")[0];if(d)window.setTimeout(function(){d.parentNode.insertBefore(c,d)},b||0)};
bs_R.NewObject=function(a,b){b||(b=window);if(!b[a]){b[a]={};return true}return false};if(bs_R.NewObject("buySAFE")||!buySAFE.Loaded){if(!buySAFE.Hash)buySAFE.Hash="";if(!buySAFE.Guarantee)buySAFE.Guarantee={order:"",total:"",email:""};if(!buySAFE.Seal)buySAFE.Seal={bgcolor:"#FFFFFF"};if(!buySAFE.Button)buySAFE.Button={bgcolor:"#FFFFFF"};buySAFE.Loaded=1}var buySAFESealConfig=buySAFE.Seal,buySAFEButtonConfig=buySAFE.Button;bs_R._gel=function(a){return document.getElementById(a)};bs_R._gelsn=function(a){return document.getElementsByName(a)};
bs_R._gelstn=function(a){return document.getElementsByTagName(a)};bs_R._cel=function(a){return document.createElement(a)};bs_R._euc=function(a){return encodeURIComponent(a)};bs_R._st=function(a,b){return window.setTimeout(a,b)};bs_R._loc=document.location;bs_R._ctx=function(a){a.oncontextmenu=function(){return false}};bs_R.log=function(a){typeof console!=bsUndef&&console.log(a)};bs_R.err=function(a,b){if(b)a+=": "+b.message;bs_R._st(function(){throw Error("buySAFE: "+a);},0)};
if(typeof SWFObject==bsUndef){if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={};deconcept.SWFObject=function(a,b,c,d,e,f,g,i,h,k,j){if(bs_R._gel){this.DETECT_KEY=j?j:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];a&&this.setAttribute("swf",a);b&&this.setAttribute("id",b);c&&this.setAttribute("width",
c);d&&this.setAttribute("height",d);e&&this.setAttribute("version",new deconcept.PlayerVersion(e.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7)if(!deconcept.unloadSet){bs_R.onWinEvent("beforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}f&&this.addParam("bgcolor",f);this.addParam("quality",i?i:"high");this.setAttribute("useExpressInstall",g);this.setAttribute("doExpressInstall",
false);this.setAttribute("xiRedirectUrl",h?h:window.location);this.setAttribute("redirectUrl","");k&&this.setAttribute("redirectUrl",k)}};deconcept.SWFObject.prototype={setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=
[],b,c=this.getVariables();for(b in c)a.push(b+"="+c[b]);return a},getSWFHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","PlugIn");a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';a+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var b=this.getParams(),
c;for(c in b)a+=[c]+'="'+b[c]+'" ';b=this.getVariablePairs().join("&");if(b.length>0)a+='flashvars="'+b+'"';a+="/>"}else{this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","ActiveX");a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />';b=this.getParams();for(c in b)a+='<param name="'+c+'" value="'+
b[c]+'" />';b=this.getVariablePairs().join("&");if(b.length>0)a+='<param name="flashvars" value="'+b+'" />';a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall"))if(this.installedVer.versionIsValid(new deconcept.PlayerVersion([6,0,65]))&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title)}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){(typeof a=="string"?bs_R._gel(a):a).innerHTML=this.getSWFHTML();return true}else this.getAttribute("redirectUrl")!=""&&bs_R._loc.replace(this.getAttribute("redirectUrl"));return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var b=
navigator.plugins["Shockwave Flash"];if(b&&b.description)a=new deconcept.PlayerVersion(b.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else{try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(c){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(d){if(a.major==6)return a}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(b!=null)a=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}return a};
deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major)return false;if(this.major>a.major)return true;if(this.minor<a.minor)return false;if(this.minor>a.minor)return true;if(this.rev<a.rev)return false;return true};deconcept.util={getRequestParameter:function(a){var b=bs_R._loc.search||bs_R._loc.hash;if(b){b=b.substring(1).split("&");
for(var c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return b[c].substring(b[c].indexOf("=")+1)}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){for(var a=bs_R._gelstn("OBJECT"),b=a.length-1;b>=0;b--){a[b].style.display="none";for(var c in a[b])if(typeof a[b][c]=="function")a[b][c]=function(){}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};bs_R.onWinEvent("unload",deconcept.SWFObjectUtil.cleanupSWFs)};
if(Array.prototype.push==null)Array.prototype.push=function(a){this[this.length]=a;return this.length};var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject}function buysafe_set_cookie(a,b,c,d,e,f){a=a+"="+escape(b);if(c){b=new Date;b.setTime(b.getTime()+c*864E5);a+="; expires="+b.toGMTString()}if(d)a+="; path="+escape(d);if(e)a+="; domain="+escape(e);if(f)a+="; secure";document.cookie=a}
bs_R.GetCookieRaw=function(a){for(var b=document.cookie.split("; "),c=0;c<b.length;c++){var d=b[c].indexOf("="),e=b[c].substring(0,d);d=b[c].substring(d+1);if(a==e)return d}return null};bs_R.GetCookie=function(a){return(a=bs_R.GetCookieRaw(a))?unescape(a):a};bs_R.AddBody=function(a){var b=document.body;if(b)(b=b.firstChild)&&b.parentNode.insertBefore(a,b)};
bs_R.BottomSpacer=function(a){bs_R.onLoad(function(){var b=bs_R._gel("buySAFE Spacer")||bs_R._cel("div");b.id="buySAFE Spacer";if(a>b.offsetHeight)b.style.height=a+"px";document.body.appendChild(b)})};if(bs_R.NewObject("oBSG",bs_R)){bs_R.oBSG.aSizeQueue=[];bs_R.oBSG.id="BSG_Iframe";bs_R.oBSG.idfix="BSG_Iframe_Fix"}
bs_R.oBSG.FixFlashMouse=function(){if(!bs_R.oBSG.oFixDiv){var a=bs_R._cel("div");a.id=bs_R.oBSG.idfix;a.name=bs_R.oBSG.idfix;a.corner="BRL";a.width="130";a.height="85";var b=a.style;b.width="130px";b.height="85px";b.cursor="pointer";bs_R.SetPersist({ele:a,sPosition:"BRL",offsetY:2,offsetZ:10});bs_R.AddBody(a);bs_R.RollAttach([a],"Guarantee","Seal");a.onclick=function(){window.open("/Web/Seal/VerifySeal.aspx?PublicToken="+buySAFE.Hash+"&G=1")};bs_R.oBSG.oFixDiv=a}};
bs_R.oBSG.Size=function(a){bs_R.oBSG.fSizing=1;var b=(new Date).valueOf(),c=bs_R.oBSG.aSizeQueue[0];if(!c.start){c.start=b;c.end=c.start+c.time;c.orig=parseInt(a.height)}a.height=c.orig+parseInt((c.target-c.orig)*(b<c.end?(b-c.start)/c.time:1))+"px";b>=c.end&&bs_R.oBSG.aSizeQueue.shift();if(bs_R.oBSG.aSizeQueue.length)bs_R._st(function(){bs_R.oBSG.Size(a)},20);else bs_R.oBSG.fSizing=0};
bs_R.oBSG.Toggle=function(){var a=bs_R._gel(bs_R.oBSG.fClosedText),b=bs_R._gel(bs_R.oBSG.fClosedImg);if(a&&b)if(bs_R.oBSG.fClosed){a.innerHTML="minimize";b.style.backgroundPosition="0px 0px";bs_R.oBSG.Show();bs_R.oBSG.fClosed=0}else{a.innerHTML="maximize";b.style.backgroundPosition="0px -20px";bs_R.oBSG.Hide();bs_R.oBSG.fClosed=1}};
bs_R.oBSG.Show=function(){if(bs_R.oBSG.oFrame){if(bs_R.oBSG.oFrame&&bs_R.oBSG.timerFirstShow){clearTimeout(bs_R.oBSG.timerFirstShow);bs_R.oBSG.timerFirstShow=null}}else{bs_R.oBSG.oFrame=bs_R._gel(bs_R.oBSG.id);if(bs_R.oBSG.nAutoHide)bs_R.oBSG.timerFirstShow=bs_R._st(function(){bs_R.oBSG.Hide()},bs_R.oBSG.nAutoHide)}if(bs_R.oBSG.oFrame){bs_R.oBSG.aSizeQueue.push({target:bs_R.oBSG.nHeightShow,time:300});bs_R.oBSG.fSizing||bs_R.oBSG.Size(bs_R.oBSG.oFrame)}};
bs_R.oBSG.Hide=function(){if(bs_R.oBSG.oFrame){bs_R.oBSG.aSizeQueue.push({target:bs_R.oBSG.nHeightHide,time:300});bs_R.oBSG.fSizing||bs_R.oBSG.Size(bs_R.oBSG.oFrame)}};
bs_R.oBSG.WriteFrame=function(a,b){if(b&&!buySAFE.Guarantee.hidden){var c=bs_R.sBSGID,d=bs_R._gel(c);if(d){var e=d.style;d.innerHTML="";c=bs_R._cel("div");c.id=a+"_div";var f=c.style;f.display=e.display="block";f.visibility=e.visibility="visible";var g="",i="",h="";if(b.match(/^BSG_Feedback_/)){bs_R.oBSG.nHeightShow=282;bs_R.oBSG.nHeightHide=50;bs_R.oBSG.nWidth=700;f.width=e.width=bs_R.oBSG.nWidth+14+"px";bs_R.SetPersist({ele:d,sPosition:"BCL",offsetX:0,offsetY:-6,offsetZ:100});f.margin="2px";bs_R.oBSG.fClosedText=
"fClosedText";bs_R.oBSG.fClosedImg="fClosedImg";e=bs_R.IsIE6?"background:none transparent;":"background:url('"+bs_R.sRootSealImgBSG+"shadow.png') no-repeat;";i='<table border="0" cellpadding="0" cellspacing="0"><tr><td style="'+e+'height:10px;"></td><td style="'+e+'height:10px; width:10px; background-position: right top;"></td></tr><tr><td style="text-align:center; background:#8098af; border:2px solid #8098af">';g='<div style="clear:right;"><table cellspacing="0" cellpadding="0" border="0" align="right" style="padding:2px 2px 0 0; cursor:pointer; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:9px; color:#ffffff;" onclick="bs_R.oBSG.Toggle();"><tr><td id="'+
bs_R.oBSG.fClosedText+'" style="padding-right:5px; text-align:right;">minimize</td><td id="'+bs_R.oBSG.fClosedImg+'" style="padding-right:2px; width:12px; height:12px; background:transparent url('+bs_R.sRootSealImgBSG+'feedback_sprite.png) no-repeat -0px -0px;"></td></tr></table></div>';h='</td><td style="'+e+'width:10px;background-position: right bottom;"></td></tr></table>'}else{bs_R.oBSG.nAutoHide=5E3;bs_R.oBSG.nHeightShow=136;bs_R.oBSG.nHeightHide=50;bs_R.oBSG.nWidth=826;bs_R.SetPersist({ele:d,
sPosition:"BRL",offsetX:0,offsetY:0,offsetZ:-10});c.onmouseover=function(){bs_R.RollOver(bs_R.oBSG.Show)};c.onmouseout=function(){bs_R.RollOut(bs_R.oBSG.Hide)}}c.innerHTML=i+g+'<div style="clear:right;"><iframe src="'+bs_R.oBSG.url+'&HTML=1" id="'+a+'" name="'+a+'" width="'+bs_R.oBSG.nWidth+'" height="0" onload="bs_R.oBSG.Show();" '+bs_R.sFrameDef+"></iframe></div>"+h;d.appendChild(c);buySAFE.Guarantee.nospacer||bs_R.BottomSpacer(60)}else bs_R.err("oBSG.WriteFrame: Can't find element: "+c)}};
function WriteBuySafeGuarantee(a){bs_R.onLoad(function(){function b(g){var i="";if(i=bs_R._gel(g))i=i.value;if(!i&&(i=bs_R._gelsn(g))&&i[0])i=i[0].value;return i}var c="",d="0",e="",f=buySAFE.Guarantee;if(a=="HTML"){c=b(f.order);d=b(f.total);e=b(f.email)}else if(a=="Yahoo"){if(typeof orderNum!=bsUndef)c=orderNum;if(typeof orderSubTotal!=bsUndef)d=orderSubTotal;if(f=bs_R._gel("ys_billToEmail"))if(f.innerHTML)e=f.innerHTML}else if(a=="ProStores"||a=="JavaScript"){if(f.order)c=f.order;if(f.total)d=f.total;
if(f.email)e=f.email}else if(a=="ShopSite"){if(typeof ss_ordernum!=bsUndef)c=ss_ordernum;if(typeof ss_subtotal!=bsUndef)d=ss_subtotal;if(typeof ss_email!=bsUndef)e=ss_email}else if(a=="Volusion")if(typeof Order!=bsUndef){if(typeof Order[0]!=bsUndef)c=Order[0];if(typeof Order[3]!=bsUndef)d=Order[3];if(typeof Order[9]!=bsUndef)e=Order[9]}d=String(d).replace(/[\$\s\,\+]+/g,"");e=String(e).match(/^\s*([^\s]*)/)[1];c=String(c).match(/^\s*(.*?)\s*$/)[1];if(bs_R.IsFFlt35)if(bs_R.oBSG.fFlashSeal)bs_R.oBSG.FixFlashMouse();
else bs_R.oBSG.fFixFlashMouse=1;bs_R.oBSG.url=bs_R.sRootSeal+"buysafeguarantee.aspx?ifID="+bs_R.oBSG.id+"&o="+c+"&t="+d+"&e="+e+"&HASH="+buySAFE.Hash;bs_R.AddJS(bs_R.oBSG.url+"&INFO=1&cbf=bs_R.oBSG.WriteFrame")})}bs_R.CheckBlank=function(a){try{if(a.fileSize==43||a.naturalWidth==2){var b=a.parentNode;if(b.tagName.toLowerCase()=="a"&&b.href.indexOf("VerifySeal.aspx")>-1)b.style.display="none"}}catch(c){}};
bs_R.TimeoutNew=function(a,b,c){var d={};d.Target=c;d.Failed=false;d.Interval=bs_R._st(b,bs_R.nFlashTimeout);bs_R.oTimeouts[a]=d};bs_R.TimeoutFailed=function(a){a=bs_R.oTimeouts[a];clearInterval(a.Interval);a.Failed=true};bs_R.TimeoutClear=function(a){clearInterval(bs_R.oTimeouts[a].Interval)};
bs_R.WriteFlash=function(a,b,c,d,e){var f=bs_R._gel(b);if(f){if(buySAFE.NoFlash){if(e)f.style.display="none";bs_R.nFlashTimeout=0}else{if(e)f.style.width=f.style.height="0px";a.addParam("menu","false");a.addParam("AllowScriptAccess","always");a.addParam("scale","noscale");a.addParam("salign","tl");a.write(f)}bs_R.TimeoutNew(c,d,f);if(bs_R.IsIE)window[c]=document[c]}else bs_R.err("WriteFlash: Can't find element: "+b)};
function WriteBuySafeButtonAjax(a){eval(a.substr(a.indexOf("WriteBuySafeButton"),a.indexOf("<\/script>")-a.indexOf("WriteBuySafeButton")))}function WriteBuySafeButtonAjaxInvisible(a){eval(a.substr(a.indexOf("WriteBuySafeButtonInvisible"),a.indexOf("<\/script>")-a.indexOf("WriteBuySafeButtonInvisible")))}
function WriteBuySafeButtonCore(a,b,c,d,e,f){d=f=="Invisible"?new SWFObject(b,c,"1","1","8",buySAFE.Button.bgcolor):new SWFObject(b,c,"190","40","8",buySAFE.Button.bgcolor);e=e.replace(/&amp;/gi,"&");e=e.split("&");for(var g={},i=0;i<e.length;i++){var h=e[i].indexOf("="),k=e[i].substring(0,h),j=e[i].substring(h+1);g[k]=j}if(g.Id)document.cookie="BSSCID="+g.Id+";";if(g.RolloverType=="Certified"&&bs_R.StringToBool(g.DefaultChecked)&&bs_R.StringToBool(g.Clickable))g.RolloverType="Checked";for(h in g)d.addVariable(h,
g[h]);f=="Invisible"?bs_R.WriteFlash(d,a,c,function(){bs_R.ButtonTimeoutInvisible(a,c,b,g)}):bs_R.WriteFlash(d,a,c,function(){bs_R.ButtonTimeout(a,c,b,g)})}function WriteBuySafeButton(a,b,c,d,e){bs_R.CacheImgButton();WriteBuySafeButtonCore(a,b,c,d,e,"Default")}function WriteBuySafeButtonInvisible(a,b,c,d,e){WriteBuySafeButtonCore(a,b,c,d,e,"Invisible")}bs_R.StringToBool=function(a){return a&&a.toLowerCase()=="true"};
bs_R.GetAltButton=function(a,b,c,d,e){var f=c;f+=e=="Receipt"||e=="Seller"?"-bg-receipt.gif":d?"-bg-bonded.gif":"-bg-click.gif";return bs_R.sRootSeal+"AltButton.aspx?HASH="+a+"&I="+b+"&T="+(typeof d==bsUndef?c:f+"&TS="+(new Date).valueOf())};bs_R.ButtonTimeoutInvisible=function(a,b,c,d){bs_R.TimeoutFailed(b);(new Image(1,1)).src=bs_R.GetAltButton(d.HASH,d.Id,"dot.gif")};
bs_R.ButtonTimeout=function(a,b,c,d){var e=d.BondCost;bs_R.TimeoutFailed(b);d.DefaultChecked=bs_R.StringToBool(d.DefaultChecked);d.Bondable=bs_R.StringToBool(d.Bondable);d.Clickable=bs_R.StringToBool(d.Clickable);var f=bs_R._gel(a);if(f){if(!bs_R.fFlashPlaceholder)f.innerHTML="";if(d.Bondable){a=c.substring(c.lastIndexOf("/")+1).replace(".swf","");c=bs_R._cel("div");c.id="div_"+b;bs_R._ctx(c);var g=bs_R._cel("div");g.id="div_button_"+b;b=g.style;switch(a){case "BuySafeButton_4280":case "BuySafeButton_4348":case "BuySafeButton_4886":case "BuySafeButton_4900":case "BuySafeButton_5670c":case "BuySafeButton_5670b":case "BuySafeButton_5670a":case "BuySafeButton_5774":b.height=
"40px";b.width=bs_R.IsIE?"190px":"188px";b.paddingRight="2px";b.paddingTop="11px";b.color="#76777a";b.fontSize="10px";e="";break;case "BuySafeButton_2":case "BuySafeButton_3":b.height="13px";b.width="185px";b.paddingRight="5px";b.paddingTop="27px";b.color="#76777A";b.fontSize="10px";break;default:b.height=bs_R.IsIE?"40px":"32px";b.width=bs_R.IsIE?"185px":"175px";b.paddingRight="15px";b.paddingTop="8px";b.color="#0D2954";b.fontSize="14px"}b.fontFamily="Arial, Helvetica, sans-serif;";b.backgroundRepeat=
"no-repeat";b.textAlign="right";b.fontWeight="bold";g.oncontextmenu=c.oncontextmenu;var i=new Image;i.onload=function(){if(i.width==192)d.RolloverType="Free";var h="HASH="+d.HASH+"&CHECKED="+d.DefaultChecked+"&LearnMore="+d.LearnMoreUrl+"&RolloverType="+d.RolloverType;g.style.backgroundImage="url("+i.src+")";g.onmouseover=function(){buysafeOver(d.RolloverType,this,"Button",h)};g.onmouseout=function(){buysafeOut()}};if(d.Clickable){b.cursor="pointer";if(d.DefaultChecked)i.src=bs_R.GetAltButton(d.HASH,
d.Id,a,true,d.RolloverType);else{g.innerHTML=e;i.src=bs_R.GetAltButton(d.HASH,d.Id,a,false,d.RolloverType)}g.onclick=function(){window[d.Callback](String(!d.DefaultChecked).toLowerCase())}}else i.src=bs_R.GetAltButton(d.HASH,d.Id,a,true,d.RolloverType);c.appendChild(g);f.appendChild(c)}}else bs_R.err("ButtonTimeout: Can't find element: "+a)};function SealLoadedCallback(a){bs_R.TimeoutClear(a,a+"_a")}function ButtonLoadedCallback(a){bs_R.TimeoutClear(a,"div_"+a)}
bs_R.GetTarget=function(a){var b={};b.top=0;b.left=0;b.height=a.height?parseInt(a.height):a.offsetHeight;b.width=a.width?parseInt(a.width):a.offsetWidth;b.offsetWidth=a.offsetWidth;for(b.offsetHeight=a.offsetHeight;a!=null;){b.top+=a.offsetTop;b.left+=a.offsetLeft;a=a.offsetParent}return b};
bs_R.SealTimeoutSSR=function(a,b,c,d){bs_R.TimeoutFailed(b);var e=bs_R._gel(a);if(e){if(!bs_R.fFlashPlaceholder)e.innerHTML="";a=bs_R._cel("a");a.href=bs_R.sWebVer+"VerifyTrustSeal.aspx?"+c;a.target="_blank";a.id=b+"_a";var f=bs_R._cel("img");f.src=bs_R.sRootVer+"AltSeal.aspx?"+c+"&S="+d;f.id=f.name=b+"_img";f.border=0;bs_R._ctx(f);a.appendChild(f);e.appendChild(a);bs_R.RollAttach(bs_R._gelsn(f.name),"TrustSeal","TrustSeal",c)}else bs_R.err("SealTimeoutSSR: Can't find element: "+a)};
bs_R.SealTimeout=function(a,b,c,d,e,f){bs_R.TimeoutFailed(b);var g=bs_R.GetCookieRaw("BSSCID");bs_R.AddJS(bs_R.sRootSeal+"AltSealInfo.aspx?Info=1&CBF=bs_R.WriteAltImage&Elem="+a+"&SN="+b+"&HASH="+c+"&S="+e+"&T="+f+"&MSPHASH="+d+"&I="+(g||"")+"&TS="+(new Date).valueOf())};
bs_R.WriteAltImage=function(a,b,c,d,e,f,g){var i=bs_R._gel(a);if(i){if(!bs_R.fFlashPlaceholder)i.innerHTML="";var h=bs_R.GetCookieRaw("BSSCID");h=bs_R.sRootSeal+"AltSeal.aspx?HASH="+c+"&S="+e+"&T="+f+"&MSPHASH="+d+"&I="+(h||"")+"&TS="+(new Date).valueOf();e=bs_R._cel("img");e.id=e.name=b+"_img";e.src=h;e.border=0;bs_R._ctx(e);h=bs_R._cel("a");h.target="_blank";h.style.fontSize="0";h.id=b+"_a";var k=false,j="";g.match(/\<filename\>\<\/filename\>/)&&bs_R.AdjustSeal(a,b,"AltSeal",0,1,"BRS");if(g.match(/\<filename\>.*(Persistent|Guaranteed)Seal_([TBX][LRX][LMS]).swf\<\/filename\>/)){j=
RegExp.$1;e.corner=RegExp.$2;if(!e.corner.match(/^XX.$/i)){bs_R.AdjustSeal(a,b,"AltSeal",2,1,e.corner);e.style.verticalAlign="bottom"}}else if(g.match(/\<filename\>.*VERISIGN.+?.swf\<\/filename\>/))k=true;else bs_R.AdjustSeal(a,b,"AltSeal",0,0);h.href="https://www.buysafe.com/Web/Seal/VerifySeal.aspx?PublicToken="+c+"&MSPHASH="+d;if(j=="Guaranteed")h.href+="&G=1";if(k)h.href="https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn="+bs_R._loc.host+"&lang=en";h.appendChild(e);i.appendChild(h);
k||bs_R.RollAttach(bs_R._gelsn(e.name),j=="Guaranteed"?"Guarantee":f=="M"?"Certified":"GenericT","Seal")}else bs_R.err("WriteAltImage: Can't find element: "+a);g.match(/\<bsuid\>(.*?)\<\/bsuid\>/)&&buysafe_set_cookie("buySAFEUID","BSUID::"+RegExp.$1,365,"/","","")};function WriteBuySafeTrusteeSeal(){}
bs_R.getCSSRule=function(a,b){a=a.toLowerCase();if(document.styleSheets)for(var c=0;c<document.styleSheets.length;c++){var d=document.styleSheets[c],e=0,f=false;do{if(f=d.cssRules?d.cssRules[e]:d.rules[e])if(f.selectorText.toLowerCase()==a)if(b=="delete"){d.cssRules?d.deleteRule(e):d.removeRule(e);return true}else return f;e++}while(f)}return false};
bs_R.getStyle=function(a,b){if(a){var c=a.currentStyle||document.getComputedStyle(a,null)||document.defaultView.getComputedStyle(a,null);return b?c[b]:c}};function buysafeGetAffiliateURL(a,b,c,d,e,f){a=bs_R._euc(c)+"&T="+bs_R._euc(b)+"&U="+bs_R._euc(a)+"&P="+bs_R._euc(d)+"&R="+bs_R._euc(bs_R._loc)+"&PR="+bs_R._euc(document.referrer)+"&Q="+bs_R._euc(e)+"&N="+bs_R._euc(f);return bs_R.sRootVer+"Verify.aspx?A="+a}
function WriteBuySafeAffiliateSeal(a,b,c,d,e,f,g,i){bs_R.CacheImgSeal();var h=new buySAFEAffiliate;if(typeof a!="object"){h.ElementName=a;h.Size=b;h.TargetFullURL=c;h.TargetDomainURL=d;h.AffilateID=e;h.ProgramID=f;h.Query=g;h.SearchResultNumber=i}else h=a;b="buysafeSeal_"+ ++bs_R.nSeals;if(c=bs_R._gel(h.ElementName)){d=bs_R._cel("a");d.href=buysafeGetAffiliateURL(h.TargetFullURL,h.TargetDomainURL,h.AffilateID,h.ProgramID,h.Query,h.SearchResultNumber);d.target="_blank";d.id=b+"_a";a=bs_R._cel("img");
a.src=bs_R.sRootSeal+"SealVerify.aspx?MerchantURL="+bs_R._euc(h.TargetDomainURL)+"&Q="+bs_R._euc(h.Query)+"&N="+bs_R._euc(h.SearchResultNumber)+"&A="+bs_R._euc(h.AffiliateID);a.id=a.name=b+"_img";a.border=0;bs_R._ctx(a);d.appendChild(a);c.appendChild(d);h="MerchantURL="+bs_R._euc(h.TargetDomainURL);bs_R.RollAttach(bs_R._gelsn(a.name),"Affiliate","Affiliate",h)}else bs_R.err("WriteBuySafeAffiliateSeal: Can't find element: "+a)}
bs_R.iScroll=function(a){var b=window.innerWidth/a.offsetWidth,c=window.innerHeight/a.offsetHeight;b=b<c?b:c;a.ivert(b);a.ihoriz(b)};
bs_R.SetPersist=function(a){function b(l){return{T:"_top:expression("+l+".scrollTop  + "+g+");",L:"_left:expression("+l+".scrollLeft + "+f+");",B:"_top:expression("+l+".scrollTop  + "+l+".clientHeight - offsetHeight    - "+g+");",R:"_left:expression("+l+".scrollLeft + "+l+".clientWidth  - offsetWidth     - "+f+");",HC:"_left:expression("+l+".scrollLeft + (("+l+".clientWidth  - offsetWidth)/2) - "+f+");"}}var c=a.ele,d=c.style,e=c.id==bs_R.sBSGID,f=a.offsetX,g=a.offsetY,i=a.offsetZ,h=a.fRollover;h||
(h=0);f||(f=0);g||(g=0);i||(i=0);switch(h){case 1:f=bs_R.sTarget.width*0.6;g=bs_R.sTarget.height*0.7}f+=0;g+=0;var k="",j="";h="";k=b("document.body");j=b("document.documentElement");var m=bs_R.oDocElem,q=function(l){d.top=window.pageYOffset+g-(l<3?m.offsetWidth:0)+"px"},r=function(l){d.left=window.pageXOffset+f-(l<3?m.offsetHeight:0)+"px"},p=function(l){d.bottom=m.clientHeight-window.innerHeight-window.pageYOffset+g+(l<3?m.offsetHeight:0)+"px"},s=function(l){d.right=m.clientWidth-window.innerWidth-
window.pageXOffset+f+(l<3?m.offsetWidth:0)+"px"},t=function(){d.left=window.pageXOffset+(window.innerWidth-c.offsetWidth)/2+f+"px"},u=function(){d.bottom=m.clientHeight-m.offsetHeight+"px"},v=function(){d.left=(m.offsetWidth-c.offsetWidth)/2+"px"},n="",o="",w=d.position=="fixed";switch(a.sPosition){case "BRL":case "BRS":h="bottom:"+g+"px; right:"+f+"px;";j=j.B+j.R;k=k.B+k.R;d.top=d.left="auto";d.bottom=g+"px";d.right=f+"px";d.position="fixed";c.ivert=p;c.ihoriz=s;n="bottom";o="right";break;case "BLL":case "BLS":h=
"bottom:"+g+"px; left:"+f+"px;";j=j.B+j.L;k=k.B+k.L;d.top=d.right="auto";d.bottom=g+"px";d.left=f+"px";d.position="fixed";c.ivert=p;c.ihoriz=r;n="bottom";o="left";break;case "BCL":case "BCS":h="bottom:"+g+"px; left: 50%; margin-left:-"+parseInt(c.offsetWidth/2)+"px";j=j.B+j.HC;k=k.B+k.HC;d.top=d.right="auto";d.bottom=g+"px";d.left="50%";d.marginLeft="-"+c.offsetWidth/2+"px";d.position="fixed";c.ivert=e?u:p;c.ihoriz=e?v:t;n="bottom";o="left";break;case "TRL":case "TRS":h="top:"+g+"px; right:"+f+"px;";
j=j.T+j.R;k=k.T+k.R;d.bottom=d.left="auto";d.top=g+"px";d.right=f+"px";d.position="fixed";c.ivert=q;c.ihoriz=s;n="top";o="right";break;case "TLL":case "TLS":h="top:"+g+"px; left:"+f+"px;";j=j.T+j.L;k=k.T+k.L;d.bottom=d.right="auto";d.top=g+"px";d.left=f+"px";d.position="fixed";c.ivert=q;c.ihoriz=r;n="top";o="left";break;default:h="bottom:"+g+"px; right:"+f+"px;";j=j.B+j.R;k=k.B+k.R}if(bs_R.sTarget){bs_R.sTarget.tailVert=n;bs_R.sTarget.tailHoriz=o}if(bs_R.IsIElt8||bs_R.IsIE&&bs_R.IsQuirks){a=" position: fixed; _position: absolute; ";
a+=bs_R.IsQuirks?k:bs_R.IsIE6?j:h;d.cssText=bs_R.sBgDot+a;document.recalc&&document.recalc(true)}else if(bs_R.IsiOS){d.marginLeft="0px";bs_R.iScroll(c);window.addEventListener("scroll",function(){bs_R.iScroll(c)})}w||bs_R.AddBody(c);d.zIndex=bs_R.nZIndex+i;d.backgroundColor="transparent"};
bs_R.AdjustSeal=function(a,b,c,d,e,f){var g=bs_R._gel(b),i=bs_R._gel(a);if(c!="AltSeal"){if(g){g.setAttribute("wmode","transparent");g.corner=f}if(bs_R.IsFFlt35&&bs_R.oBSG)if(bs_R.oBSG.fFixFlashMouse)bs_R.oBSG.FixFlashMouse();else bs_R.oBSG.fFlashSeal=1}bs_R._st(function(){var h=c>1||d>1;if((bs_R.fPersist=parseInt(e))&&(h||!buySAFE.StaticOffSeal))if(i){bs_R.SetPersist({ele:i,sPosition:f});bs_R.IsFFlt35||bs_R.iFrameFix(a,i);if(bs_R.IsIE6){h=bs_R.getStyle(bs_R._gelstn("html")[0],"backgroundImage");
var k=bs_R.getStyle(bs_R._gelstn("body")[0],"backgroundImage");if(!h.match(/^url\(/i)&&!k.match(/^url\(/i)){h=bs_R._cel("STYLE");bs_R.oDocElem.firstChild.appendChild(h);h.styleSheet.cssText="html {"+bs_R.sBgDot+"}"}}buySAFE.SealSpacer&&bs_R.BottomSpacer(90)}else bs_R.err("AdjustSeal: Can't find element: "+a);if(g){g.style.width=(g.width=d)+"px";g.style.height=(g.height=c)+"px";if(i){i.style.width=d+"px";i.style.height=c+"px";i.style.display="inline"}}else if(i){i.style.width=i.style.height="auto";
i.style.display="inline"}},bs_R.IsChrome||bs_R.IsSafari?100:0)};function AdjustBuysafeSealCallback(a,b,c,d,e,f){bs_R.AdjustSeal(a,b,c,d,e,f)}
function WriteBuySafeSeal(a,b,c){bs_R.CacheImgSeal();if(b=="PersistentSeal"||b=="GuaranteedSeal")b="Large";if(a=="Small"||a=="Medium"||a=="Large"){c=b;b=a;a="BS_FCompatibleSpan_"+ ++bs_R.nSeals;document.write('<span id="'+a+'"></span>')}var d,e;if(b=="Small"){e=85;d=55}else if(b=="Medium"){e=110;d=75}else{e=130;d=85}var f="buysafeseal_"+ ++bs_R.nSeals,g=new SWFObject(bs_R.sRootSeal+"Flash/MerchantSeal"+b+".swf",f,1,1,"8",buySAFE.Seal.bgcolor);c||(c="HASH="+buySAFE.Hash);c=c.split("&");for(var i,h=
0;h<c.length;h++){var k=c[h].split("=")[0].replace("amp;",""),j=c[h].split("=")[1];if(k=="HASH")i=j;else if(k=="MSPHASH")bs_R.sMSPHash=j;g.addVariable(k,j)}g.addVariable("Size",b);g.addVariable("NAME",f);g.addVariable("ElementName",a);g.addVariable("Width",e);g.addVariable("Height",d);bs_R.IsIE&&g.addParam("wmode","transparent");bs_R.WriteFlash(g,a,f,function(){bs_R.SealTimeout(a,f,i,bs_R.sMSPHash,b,"M")},1);WriteBuySafeKickers();bs_R.RollAttach(bs_R._gelsn("BuySafeButtonRollover"),"Button","Button")}
function WriteBuySafeTrustSeal(a,b,c,d,e,f,g,i,h,k){bs_R.CacheImgSSR();var j=new buySAFEAffiliate;if(typeof a!="object"){j.ElementName=a;j.Size=b;j.TargetFullURL=c;j.TargetDomainURL=d;j.AffilateID=e;j.ProgramID=f;j.Query=g;j.SearchResultNumber=i;j.Rating=k;j.IsEcommerce=h}else j=a;b="buysafeTrustseal_"+ ++bs_R.nSeals;if(c=bs_R._gel(j.ElementName)){a="TrustURL="+bs_R._euc(j.TargetDomainURL);d=bs_R._cel("a");d.href=bs_R.sWebVer+"VerifyTrustSeal.aspx?"+a;d.target="_blank";d.id=b+"_a";e=bs_R._cel("img");
if(j.IsEcommerce==null||j.Rating==null||isNaN(j.Rating)||j.Rating==""||parseInt(j.Rating)<0||parseInt(j.Rating)>4||parseInt(j.IsEcommerce)!=1){e.src=bs_R.sRootVer+"images/TrustRating/dot.gif";e.id=e.name=b+"_img"}else{e.src=bs_R.sRootVer+"images/TrustRating/TrustRating"+j.Rating+".gif?&Q="+bs_R._euc(j.Query)+"&N="+bs_R._euc(j.SearchResultNumber)+"&A="+bs_R._euc(j.AffilateID);e.id=e.name=b+"_img";e.border=0;bs_R._ctx(e);d.appendChild(e);c.appendChild(d);bs_R.RollAttach(bs_R._gelsn(e.name),"TrustSeal",
"TrustSeal",a)}}else bs_R.err("WriteBuySafeTrustSeal: Can't find element: "+a)}
function WriteBuySafeTrustRatingSeal(a,b,c){bs_R.CacheImgSSR();var d,e;if(b=="Small"){e=67;d=16}var f="buysafetrustseal_"+ ++bs_R.nSeals;d=new SWFObject(bs_R.sRootSeal+"Flash/TrustRatingSealLoader"+b+".swf",f,e,d,"8",buySAFE.Seal.bgcolor);c=c.split("&");for(e=0;e<c.length;e++){var g=c[e].split("=")[0].replace("amp;",""),i=c[e].split("=")[1];if(g=="TrustURL")bs_R.sTrustURL=i;d.addVariable(g,i)}d.addParam("wmode","transparent");d.addVariable("NAME",f);var h="TrustURL="+bs_R.sTrustURL;bs_R.WriteFlash(d,
a,f,function(){bs_R.SealTimeoutSSR(a,f,h,b)})}bs_R.CacheImg=function(a){a=bs_R.sRootImg+a;if(bs_R.oImgCache[a]==null){var b=new Image;b.src=a;bs_R.oImgCache[a]=b}};bs_R.CacheImgButton=function(){buySAFE.ImageCacheDelay&&bs_R._st(function(){bs_R.CacheImg("rollover_Button_2010_04.png");bs_R.CacheImg("rollover_tail.png")},buySAFE.ImageCacheDelay)};
bs_R.CacheImgKicker=function(){buySAFE.ImageCacheDelay&&bs_R._st(function(){bs_R.CacheImg("rollover_ButtonBSG_2010_04.png");bs_R.CacheImg("rollover_tail.png")},buySAFE.ImageCacheDelay)};bs_R.CacheImgSeal=function(){buySAFE.ImageCacheDelay&&bs_R._st(function(){bs_R.CacheImg("rollover_2008_01.png");bs_R.CacheImg("rollover_BSG_2009_12.png");bs_R.CacheImg("rollover_tail.png")},buySAFE.ImageCacheDelay)};
bs_R.CacheImgSSR=function(){buySAFE.ImageCacheDelay&&bs_R._st(function(){bs_R.CacheImgSeal();bs_R.CacheImg("../../../Web/Verification/images/VerifySeal/tr_state_anim.gif")},buySAFE.ImageCacheDelay)};bs_R.GetDate=function(){var a=new Date;return a.getMonth()+1+"/"+a.getDate()+"/"+a.getFullYear()};bs_R.GetRolloverTail=function(a,b){bs_R.CacheImg("rollover_tail.png");return'<div style="width:230px; height:47px; background: '+("url('"+bs_R.sRootImg+"rollover_tail.png')")+bs_R.oTail[b]+bs_R.oTail[a]+' no-repeat transparent;" oncontextmenu="return false;"></div>'};
bs_R.GetRolloverKickerBSG_2010_04=function(){bs_R.CacheImg("rollover_ButtonBSG_2010_04.png");return{sBody:'<div style="width:232px; position:relative;"><img src="'+bs_R.sRootImg+'rollover_ButtonBSG_2010_04.png" width="232" height="200" '+bs_R.sImgBlockCTX+'/><div style="'+bs_R.sRollText+' font-weight:normal; color:#00305E; right:12px; bottom:11px;">*<a style="color:#00305E;" href="'+bs_R.sLandGuarantee+'" target="_blank">see terms and conditions</a></div></div>'}};
bs_R.GetRolloverButton_2010_04=function(){bs_R.CacheImg("rollover_Button_2010_04.png");return{sBody:'<div style="width:230px; position:relative;"><img src="'+bs_R.sRootImg+'rollover_Button_2010_04.png" width="230" height="235" '+bs_R.sImgBlockCTX+'/><div style="'+bs_R.sRollText+' font-weight:normal; color:#00305E; right:12px; bottom:45px;">*<a style="color:#00305E;" href="'+bs_R.sLandBond+'" target="_blank">see terms and conditions</a></div></div>'}};
bs_R.GetRolloverBSG_2009_12=function(){bs_R.CacheImg("rollover_BSG_2009_12.png");return{sBody:'<div style="width:230px; position:relative;"><img src="'+bs_R.sRootImg+'rollover_BSG_2009_12.png" width="232" height="260" '+bs_R.sImgBlockCTX+'/><div style="'+bs_R.sRollText+' font-weight:bold;   color:#FFFFFF; right:8px;  top:34px;">'+bs_R.GetDate()+'</div><div style="'+bs_R.sRollText+' font-weight:normal; color:#00305E; right:12px; bottom:13px;"><a style="color:#00305E;" href="'+bs_R.sLandGuarantee+'" target="_blank">Learn more...</a></div></div>'}};
bs_R.GetRolloverHTML_2008_01=function(){bs_R.CacheImg("rollover_2008_01.png");return{sBody:'<div style="width:230px; position:relative;"><img src="'+bs_R.sRootImg+'rollover_2008_01.png" width="230" height="224" '+bs_R.sImgBlockCTX+'/><div style="'+bs_R.sRollText+' font-weight:normal; color:#CCCCCC; right:12px; top:5px;">Monitored Daily</div><div style="'+bs_R.sRollText+' font-weight:bold;   color:#FFFFFF; right:12px; top:16px;">'+bs_R.GetDate()+'</div><div style="'+bs_R.sRollText+' font-weight:normal; color:#00305E; right:14px; bottom:34px;"><a style="color:#00305E;" href="'+
bs_R.sLandBond+'" target="_blank">Learn more...</a></div></div>'}};
bs_R.GetRolloverTrustHTML_2008_03=function(a){var b='id="BuySafeButtonFrame" name="BuySafeButtonFrame" '+bs_R.sFrameDef,c="",d="";if(a=="TrustSeal")c=bs_R.sRootVer+"VerifyTrustRatingRollover.aspx?"+bs_R.sRolloverQuery;else if(a=="Affiliate"){c=bs_R.sRootVer+"SealRollover.aspx?"+bs_R.sRolloverQuery;return{sBody:'<div><iframe src="'+c+'" height="149" width="250" '+b+"></iframe></div>"}}bs_R.CacheImg("../../../Web/Verification/images/VerifySeal/tr_state_anim.gif");d='<div style="background-image:url('+
bs_R.sRootVer+'images/VerifySeal/tr_state_anim.gif);background-repeat: no-repeat;background-position: center center; " ><iframe src="'+c+'" name="BuySafeTrustFrame" width="231" height="215" '+bs_R.sFrameDef+"></iframe></div>";return{sBody:d}};
bs_R.GetRolloverHTML=function(a,b){var c={},d=bs_R.sRolloverType,e=bs_R.sRolloverName,f=bs_R.sRootImg,g=bs_R.sImgBlockCTX;if(d)if(d=="Seal")if(e=="AttentionRequired"){c.sBody='<div id="rollover_temp_header" style="width:205px; height:72px;"><img name="roll_temp_header" src="'+f+'roll_temp_header.png" width="205" height="72" border="0"></div><div id="rollover_temp_body"   style="width:205px; height:63px;"><img name="roll_temp_body"   src="'+f+'roll_temp_body.png" width="205" height="63" border="0"></div><div id="rollover_temp_footer" style="width:38px;  height:40px;"><img name="roll_temp_footer" src="'+
f+'roll_temp_footer.png" width="205" height="40" border="0"></div>';c.sTail='<div><img src="'+f+"atnrq_tail_"+a+"_"+b+'.gif" alt="" '+g+" /></div>"}else if(e=="Guarantee")c=bs_R.GetRolloverBSG_2009_12();else if(e=="DoesNotApply")return"";else c=bs_R.GetRolloverHTML_2008_01();else if(d=="Button")c=bs_R.GetRolloverButton_2010_04();else if(d=="TrustSeal"||d=="Affiliate")c=bs_R.GetRolloverTrustHTML_2008_03(d);else return"";else if(e=="Seller"||e=="PriceRunner")c=bs_R.GetRolloverHTML_2008_01();else if(e==
"BSG_Kicker_Button")c=bs_R.GetRolloverKickerBSG_2010_04();else{c.sBody="";c.sTail=""}if(!c.sTail)c.sTail=bs_R.GetRolloverTail(a,b);return a=="top"?c.sTail+c.sBody:c.sBody+c.sTail};bs_R.WriteHTML=function(a,b){if(b){var c=bs_R._gel(a);if(c){for(var d,e=RegExp(/\[VAR_([^\]]+)]/g);d=e.exec(b);)b=b.replace(d[0],eval(d[1]));c.innerHTML=b}else bs_R.err("WriteHTML: Can't find element: "+a)}};
bs_R.WriteKickersHTML=function(a,b){bs_R.WriteHTML(a,b);var c=bs_R._gel(a);if(c)a.match(/^Kicker Guaranteed/i)&&bs_R.RollAttach([c],"BSG_Kicker_Button");else bs_R.err("WriteKickersHTML: Can't find element: "+a)};
bs_R.WriteKickers=function(){for(var a=bs_R._gelsn("buySAFE_Kicker"),b=a.length-1;b>=0;b--){var c=a[b];if(c){var d=c.getAttribute("type"),e=d+"_"+ ++bs_R.nKicker;c.style.display="inline-block";c.setAttribute("name",d);c.setAttribute("id",e);bs_R.AddJS(bs_R.sRootSeal+"buysafePromo.aspx?CBF=bs_R.WriteKickersHTML&Promocode="+d+"&ifID="+e+"&HASH="+buySAFE.Hash)}}};function WriteBuySafeKickers(){bs_R._st(bs_R.WriteKickers,bs_R.nLoadWait);bs_R.onLoad(bs_R.WriteKickers)}
bs_R.HideElem=function(a){if(a){a=a.style;a.visibility="hidden";a.top=a.left="-1000px";a.bottom=a.right="auto"}};bs_R.FrameHide=function(a){(a=bs_R.oFrameFix[a])&&bs_R.HideElem(a)};
bs_R.iFrameFix=function(a,b){buySAFE.NoIFrame||bs_R._st(function(){var c=bs_R.oFrameFix[a];if(!c){c=bs_R._cel("iframe");c.id=a+"_frame";if(bs_R.IsIE6)c.src="javascript:'';";c.style.visibility="hidden";c.style.position="absolute";c.frameBorder=0;c.marginHeight=0;c.marginWidth=0;c.scrolling="no";bs_R.AddBody(c);bs_R.oFrameFix[a]=c}var d=c.style,e=b.style;d.cssText=e.cssText;d.background="none";d.zIndex=e.zIndex-2;d.position=e.position;d.width=b.offsetWidth+"px";d.height=b.offsetHeight+"px";c.width=
b.offsetWidth;c.height=b.offsetHeight;d.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=0)";d.visibility=e.visibility},bs_R.nLoadWait)};
bs_R.RolloverShow=function(){if(!bs_R.IsiOS){var a=bs_R._gel(bs_R.sRolloverID);if(!a){var b=bs_R._cel("div");b.id=bs_R.sRolloverID;a=b.style;a.visibility="hidden";a.position="absolute";a.top=0;a.left=0;a.zIndex=bs_R.nZIndex;b.onmouseover=function(){bs_R.oRollover[bs_R.sRolloverName].fHide=0};b.onmouseout=function(){bs_R.oRollover[bs_R.sRolloverName].fHide=1;buysafeOut(b.id)};bs_R.AddBody(b);a=b}a.innerHTML=bs_R.GetRolloverHTML("top","left");var c,d,e=a.style;if(bs_R.fPersist&&(bs_R.sRolloverType==
"Seal"||bs_R.sRolloverType=="Guarantee")){bs_R.SetPersist({ele:a,sPosition:bs_R.sTarget.corner,fRollover:1});c=bs_R.sTarget.tailVert;d=bs_R.sTarget.tailHoriz}else{e.position="absolute";e.top=e.left=0;e.bottom=e.right="";bs_R.sDebugHTML="";d=bs_R.GetTarget(bs_R.sTarget);var f=bs_R.oDocElem,g=f&&f.clientHeight&&f.clientHeight<document.body.clientHeight?f:document.body;c=g.scrollTop;var i=c+g.clientHeight;f=g.scrollLeft;g=f+g.clientWidth;var h=d.height>d.offsetHeight?parseInt(d.height/2):0,k=d.height>
d.offsetHeight?parseInt(d.height/2)-d.offsetHeight:0;h=d.top+d.offsetHeight+h-2;k=d.top-a.offsetHeight-k-2;if(h+a.offsetHeight<=i){e.top=h+"px";c="top"}else if(k>=c){e.top=k+"px";c="bottom"}else{e.top=h+"px";c="top"}i=d.left+d.width+2;d=d.left-a.offsetWidth;if(i+a.offsetWidth<=g){e.left=i+"px";d="left"}else if(d>=f){e.left=d+"px";d="right"}else{e.left=i+"px";d="left"}}a.tailVert=c;a.innerHTML=bs_R.GetRolloverHTML(c,d);e.visibility="visible";bs_R.iFrameFix(bs_R.sRolloverID,a)}};
bs_R.RolloverHide=function(){if(!bs_R.IsiOS){var a=bs_R._gel(bs_R.sRolloverID);if(a){bs_R.HideElem(a);bs_R.FrameHide(bs_R.sRolloverID)}}};bs_R.RollOver2=function(a,b){if(bs_R.oTimer){a();bs_R.oRollover[b].fHide=1}};bs_R.RollOut2=function(a,b){if(bs_R.oRollover[b].fHide){a();bs_R.oRollover[b].fHide=0}};bs_R.RollOver=function(a,b){if(!b)b=bs_R.sRolloverName;bs_R.oRollover[b]||(bs_R.oRollover[b]={});bs_R.oTimer=bs_R._st(function(){bs_R.RollOver2(a,b)},bs_R.nShowTimeout)};
bs_R.RollOut=function(a,b){if(!b)b=bs_R.sRolloverName;if(bs_R.oTimer){clearTimeout(bs_R.oTimer);bs_R.oTimer=null}bs_R.oRollover[b]&&bs_R.oRollover[b].fHide&&bs_R._st(function(){bs_R.RollOut2(a,b)},bs_R.nHideTimeout)};
function buysafeOver(a,b,c,d){if(!(a=="TrusteeBonded"||a=="TrusteeCertified"||a=="GenericT"))if(b.tagName!="IMG"||b.naturalWidth>2||b.clientWidth>2){bs_R.sRolloverQuery=d;bs_R.sRolloverName=a;bs_R.sRolloverType=c;bs_R.sTarget=b;bs_R.RollOver(bs_R.RolloverShow)}else b.onclick=function(){return false}}function buysafeOut(){bs_R.RollOut(bs_R.RolloverHide)}function buysafeFlashOver(a,b,c){buysafeOver(a,bs_R._gel(b),c==null?"Button":c)}
function buysafeTrustRatingFlashOver(a,b,c,d){buysafeOver(a,bs_R._gel(b),c==null?"Button":c,d)}function buysafeButtonFlashOver(a,b,c,d){buysafeOver(a,bs_R._gel(b),c==null?"Button":c,d)}bs_R.RollAttach=function(a,b,c,d){for(var e,f=0;f<a.length;f++){e=a[f];e.onmouseover=function(){buysafeOver(b,this,c,d)};e.onmouseout=function(){buysafeOut()};bs_R._ctx(e)}if(e)if(b=="Button")bs_R.CacheImgButton();else b=="BSG_Kicker_Button"&&bs_R.CacheImgKicker()};
if(bs_R.NewObject("fLoaded",bs_R)){bs_R.fLoaded=1;bs_R.sRolloverID="buysafeRollover";bs_R.sBSGID="BuySafeGuaranteeSpan";bs_R.nPersistH=70;bs_R.nPersistW=80;bs_R.fPersist=false;bs_R.sDebugHTML="<br>";bs_R.nShowTimeout=500;bs_R.nHideTimeout=500;bs_R.nLoadWait=500;bs_R.nFlashTimeout=2E3;bs_R.oRollover={};bs_R.sWWW="www.buysafe.com";bs_R.sRootImg=bs_R.sRoot+"images/";bs_R.sRootSeal=bs_R.sRoot+"../../Web/Seal/";bs_R.sRootSealImg=bs_R.sRootSeal+"images/";bs_R.sRootSealImgBSG=bs_R.sRootSealImg+"bsg/";bs_R.sRootVer=
bs_R.sRoot+"../../Web/Verification/";bs_R.sWebVer="http://"+bs_R.sWWW+"/Web/Verification/";bs_R.nSeals=0;bs_R.nKicker=0;bs_R.oImgCache={};bs_R.oDocElem=document.documentElement;bs_R.oTail={top:" 0px",bottom:" -47px",left:" -35px",right:" 195px"};bs_R.sImgCTX=' oncontextmenu="return false;" style="visibility: inherit;" ';bs_R.sImgBlockCTX=' oncontextmenu="return false;" style="visibility: inherit; display: block;" ';bs_R.sRollText=" font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; text-align:right; position:absolute; ";
bs_R.sBgDot=" background: url('"+bs_R.sRoot+"../images/dot.gif') fixed right bottom no-repeat; ";bs_R.sFrameDef=' style="display:block; visibility:visible;" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" vspace="0" allowtransparency="true" ';bs_R.oTimeouts={};bs_R.fFlashPlaceholder=false;bs_R.sLandGuarantee="http://"+bs_R.sWWW+"/buyer_benefits/guarantee_short.html";bs_R.sLandBond="http://"+bs_R.sWWW+"/buyer_benefits/bond_short.html";bs_R.nZIndex=buySAFE.zIndex||10001;if(bs_R.NewObject("oBrowser",
bs_R)){bs_R.oBrowser.str=function(a){for(var b=0;b<a.length;b++){var c=a[b],d=c.src;this.tmp=c.ver||c.name;if(d){if(d.match(c.sub))return c.name}else if(c.prop)return c.name}};bs_R.oBrowser.ver=function(a){var b=a.indexOf(this.tmp);if(b>=0)if(a=a.substring(b+this.tmp.length+1).match(/^[\d\.\-]+/))return a[0];return""};bs_R.oBrowser.init=function(){var a=navigator,b=a.userAgent,c=a.vendor,d=a.platform;d=[{name:"Windows",src:d,sub:"Win"},{name:"Mac",src:d,sub:"Mac"},{name:"iOS",src:b,sub:"iPhone|iPad|iPod"},
{name:"Linux",src:d,sub:"Linux"}];this.name=this.str([{name:"Chrome",src:b,sub:"Chrome"},{name:"Safari",src:c,sub:"Apple",ver:"Version"},{name:"Opera",prop:window.opera},{name:"Konqueror",src:c,sub:"KDE"},{name:"Firefox",src:b,sub:"Firefox"},{name:"Camino",src:c,sub:"Camino"},{name:"Netscape",src:b,sub:"Netscape"},{name:"Explorer",src:b,sub:"MSIE",ver:"MSIE"},{name:"Mozilla",src:b,sub:"Gecko",ver:"rv"},{name:"Netscape",src:b,sub:"Mozilla",ver:"Mozilla"}]);this.version=this.ver(b)||this.ver(a.appVersion);
this.os=this.str(d)};bs_R.oBrowser.init()}bs_R.IsSafari=bs_R.oBrowser.name=="Safari";bs_R.IsChrome=bs_R.oBrowser.name=="Chrome";bs_R.IsIE=bs_R.oBrowser.name=="Explorer";bs_R.IsiOS=bs_R.oBrowser.os=="iOS";bs_R.IsIE6=bs_R.IsIE&&parseInt(bs_R.oBrowser.version)==6;bs_R.IsIE7=bs_R.IsIE&&parseInt(bs_R.oBrowser.version)==7;bs_R.IsIE8=bs_R.IsIE&&parseInt(bs_R.oBrowser.version)==8;bs_R.IsIElt8=bs_R.IsIE&&parseInt(bs_R.oBrowser.version)<8;bs_R.IsFF=bs_R.oBrowser.name=="Firefox";bs_R.IsFFlt35=bs_R.IsFF&&parseFloat(bs_R.oBrowser.version)<
3.5;bs_R.IsQuirks=document.compatMode=="BackCompat";bs_R.oFrameFix={}}function buySAFEAffiliate(a,b,c,d,e,f,g,i,h,k){this.ElementName=a;this.Size="Small";this.TargetFullURL=c;this.TargetDomainURL=d;this.AffilateID=e;this.ProgramID=f;this.Query=g;this.SearchResultNumber=i;this.IsEcommerce=h;this.Rating=k;this.WriteSeal=function(){WriteBuySafeAffiliateSeal(this)};this.WriteTrustSeal=function(){WriteBuySafeTrustSeal(this)}}bs_R.RollAttach(bs_R._gelsn("buySAFE Bonded Seller"),"Seller");
bs_R.RollAttach(bs_R._gelsn("PriceRunner"),"PriceRunner");

