function popUpThis(sLink) //:JER
{ //:JER
	var sFeatures, h, w, myTerms, i //:JER
	h = window.screen.availHeight  //:JER
	w = window.screen.availWidth  //:JER
	sFeatures = "height=" + h*.50 + ",width=420" + ",screenY=" + (h*.25) + ",screenX=" + (w*.30) + ",top=" + (h*.25) + ",left=" + (w*.30) + ",resizable,scrollbars=yes" //:JER
	myTerms = window.open(sLink,"",sFeatures) //:JER
} //:JER

function codeEmail() { //:JER
	var emailarray3936 = new Array(115,101,114,118,105,99,101,64,99,111,111,108,103,114,101,101,110,97,110,100,115,104,97,100,121,46,99,111,109) //:JER
	var postemail3936 = '' //:JER
	for (i=0;i<emailarray3936.length;i++) { //:JER
		postemail3936+=String.fromCharCode(emailarray3936[i]); //:JER
	} //:JER
	document.write('<a href="mailto:'+postemail3936+'?subject=Website Inquiry">'+postemail3936+'</a>'); //:JER
} //:JER

// BELOW THIS LINE IS USED FOR TOP MENU SWITCH

function newImage(arg) { //:JER
	if (document.images) { //:JER
		rslt = new Image(); //:JER
		rslt.src = arg; //:JER
		return rslt; //:JER
	} //:JER
} //:JER

function changeImages() { //:JER
	if (document.images && (preloadFlag == true)) { //:JER
		for (var i=0; i<changeImages.arguments.length; i+=2) { //:JER
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1]; //:JER
		} //:JER
	} //:JER
} //:JER

var preloadFlag = false; //:JER
function preloadImages() { //:JER
	if (document.images) { //:JER
		cgsHeader_Home_o = newImage("images/cgsHeader_Home_o.gif"); //:JER
		cgsHeader_AcntLogin_o = newImage("images/cgsHeader_AcntLogin_o.gif"); //:JER
		cgsHeader_ShopBskt_o = newImage("images/cgsHeader_ShopBskt_o.gif"); //:JER
		cgsHeader_WishList_o = newImage("images/cgsHeader_WishList_o.gif"); //:JER
		cgsHeader_CustSrv_o = newImage("images/cgsHeader_CustSrv_o.gif"); //:JER
		cgsHeader_Flag_o = newImage("images/cgsHeader_Flag_o.gif"); //:JER
		cgsHeader_SearchGo_o = newImage("images/cgsHeader_SearchGo_o.gif"); //:JER
		cgsFooter_Basket_o = newImage("images/cgsFooter_Basket_o.gif"); //:JER
		preloadFlag = true; //:JER
	} //:JER
} //:JER

// ABOVE THIS LINE IS USED FOR TOP MENU SWITCH

// BELOW THIS LINE IS USED FOR FAQs SWITCH

var selectedDiv=0 //:JER
var totalDivs=0 //:JER

function getElementbyClass(classname){ //:JER
partscollect=new Array() //:JER
var inc=0 //:JER
var alltags=document.all? document.all.tags("DIV") : document.getElementsByTagName("*") //:JER
for (i=0; i<alltags.length; i++){ //:JER
if (alltags[i].className==classname) //:JER
partscollect[inc++]=alltags[i] //:JER
} //:JER
} //:JER

function contractall(){ //:JER
var inc=0 //:JER
while (partscollect[inc]){ //:JER
partscollect[inc].style.display="none" //:JER
inc++ //:JER
} //:JER
} //:JER

function expandone(){ //:JER
var selectedDivObj=partscollect[selectedDiv] //:JER
contractall() //:JER
selectedDivObj.style.display="block" //:JER
selectedDiv=(selectedDiv<totalDivs-1)? selectedDiv+1 : 0 //:JER
} //:JER

function manualcontrol(menuobj){ //:JER
selectedDiv=parseInt(menuobj) //:JER
expandone() //:JER
} //:JER

function startgallery(){ //:JER
getElementbyClass("AnswerContent") //:JER
totalDivs=partscollect.length //:JER
manualcontrol(0) //:JER
} //:JER

// ABOVE THIS LINE IS USED FOR FAQs SWITCH

// BELOW THIS LINE IS USED FOR TRUSTLOGO

function TrustLogo(logo,code,autoMove){return _UC(logo,code,code,autoMove);}function TrustLogo_MouseOver(ev,code){return _L(ev,code);}function TrustLogo_MouseMove(ev,code){return _M(ev,code);}function TrustLogo_MouseOut(ev,code){return _N(ev,code);};function TrustLogo_Credentials(ev,code){return _WC(ev,code);};function _L(ev,_b){_eB(ev,_iB(_MC,_b),_RC(_b));}function _M(ev,_b){_XB(ev);}function _N(ev,_b){_TC(_RC(_b));}function _WC(ev,_a){_XC(_iB(_LC,_a));}function _XC(URL){window.open(URL,'tl_wnd_credentials'+(new Date()).getTime(),_YC);}var _B="SCAS";var _C="SCAS";var _D="SC";var _E="SC";var _F="SCOP";
var _G="SCOP";var _H="SCCC";var _I="SCCC";var _nC='http://www.trustlogo.com/';if(window.location.protocol.toLowerCase()=="https:"){_nC='https://secure.comodo.net/';}var _bC=_nC+"trustlogo/images/popup/";var _lC=_nC+"trustlogo/javascript/tl_tl_popupParent.htm#";var _yC=_nC+"trustlogo/logos/";var _MC=_nC+'ttb_searcher/trustlogo?';var _LC=_MC+"v_querytype=W&";_MC=_MC+"v_querytype=C&";var _NC='&x=5&y=5';var _eC=450;var _gC=120;var _fC=60;var _hC=500;var _iC=160;var _P=240;var _Q=187;if(_u()){_P=_P+20;}var _U=3;var _V=3;var _zC="";var _R=500;var _S=500;var _T=3000;var _W=100;var _O=new Array();function _ZC(URL){
var i;for(i=0;i<_O.length;i++){if(_O[i].src==URL){return;}}var im=new Image();im.src=URL;_O[_O.length]=im;}function _aC(_PC){if(_PC==_E){_ZC(_bC+"t_tl.gif");_ZC(_bC+"l_tl.gif");_ZC(_bC+"r_tl.gif");_ZC(_bC+"b_tl.gif");_ZC(_bC+"id_tl.gif");_ZC(_bC+"seal_bg.gif");}else if(_PC==_C){_ZC(_bC+"t_as.gif");_ZC(_bC+"l_as.gif");_ZC(_bC+"r_as.gif");_ZC(_bC+"b_as.gif");_ZC(_bC+"id_as.gif");_ZC(_bC+"seal_bg.gif");}else if(_PC==_I){_ZC(_bC+"t_cc.gif");_ZC(_bC+"l_cc.gif");_ZC(_bC+"r_cc.gif");_ZC(_bC+"b_cc.gif");_ZC(_bC+"id_cc.gif");_ZC(_bC+"seal_bg.gif");}else if(_PC==_G){_ZC(_bC+"t_pt.gif");_ZC(_bC+"l_pt.gif");
_ZC(_bC+"r_pt.gif");_ZC(_bC+"b_pt.gif");_ZC(_bC+"id_pt.gif");_ZC(_bC+"seal_bg.gif");}else if(_PC=="SCPAYC"){_ZC(_bC+"t_pay.gif");_ZC(_bC+"l_pay.gif");_ZC(_bC+"r_pay.gif");_ZC(_bC+"b_pay.gif");_ZC(_bC+"watermark.jpg");_ZC(_bC+"paybycheck.gif");}}function _X(str){return String(str).replace(/\&/g,"&amp;").replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/\'/g,"&#27;").replace(/\"/g,"&#22;");}function _Y(str){return String(str).replace(/\%/g,"%25").replace(/\#/g,"%23").replace(/\&/g,"%26").replace(/\?/g,"%3f").replace(/\+/g,"%2b").replace(/\=/g,"%3d").replace(/\ /g,"+").replace(/\%/g,"%25");}if(_w()){
if((screen.availHeight-_gC)<(_hC+_iC)){_hC=screen.availHeight-_iC;_gC=0;}if((screen.availWidth-_fC)<_eC){_eC=screen.availWidth;_fC=0;}}var _YC='toolbar=0,scrollbars=1,location=1,status=1,menubar=1,resizable=1,width='+_eC+',height='+_hC+',left='+_fC+',top='+_gC;function _iB(_KC,_PC){return _KC+'v_shortname='+_Y(_PC)+'&v_search='+_Y(window.location.protocol+"//"+window.location.host+window.location.pathname)+_NC;}function _QC(_a){return 'if(window.open(\''+_X(_iB(_LC,_a))+'\',\'tl_wnd_credentials\'+(new Date()).getTime(),\''+_YC+'\')){};_lB(_TB);';}function _RC(_b){var _c="tl_popup";if(_i()&&!_o()){
_c=_c+_b;}else if(_i()&&_o()){_c=_c+_b;}else{}return _c;}function _1C(s,q,l){var a=s.split(".");if(a.length<2){return "";};var _Z=_yC+q+"/"+l+"/"+a[a.length-1];for(var lIndex=a.length-2;lIndex>=0;lIndex--){_Z=_Z+"/"+a[lIndex].substr(0,2)+"/"+a[lIndex];}_Z=_Z+"/"+s+"."+q+"."+l+".gif";_Z=_Z.toLowerCase();return _Z;}function _0C(_Z,_b){if(!_Z)return false;if(_Z==true){_Z="small";}if(_Z=="small"||_Z=="large"){_Z=_1C(window.location.hostname,_b,_Z);}return _Z;}function _9C(e,xy){if(e&&xy){xy[0]=xy[0]+e.clientLeft+e.offsetLeft;xy[1]=xy[1]+e.clientTop+e.offsetTop;if(e.offsetParent){xy[0]=xy[0]-e.scrollLeft;
xy[1]=xy[1]-e.scrollTop;_9C(e.offsetParent,xy);}}}function _2C(){var _hB=_JB("_4C");_hB.style.pixelLeft=0;_hB.style.pixelTop=0;_hB.style.display="block";var _6C=0;var _7C=0;for(var _8C=_hB.offsetParent;_8C;_8C=_8C.offsetParent){_6C+=_8C.clientLeft+_8C.offsetLeft-_8C.scrollLeft;_7C+=_8C.clientTop+_8C.offsetTop-_8C.scrollTop;}_6C-=__C().clientLeft-__C().scrollLeft;_7C-=__C().clientTop-__C().scrollTop;if(_zC=="topright"){_hB.style.pixelLeft=_6C+__C().scrollLeft+__C().clientWidth-_hB.offsetWidth;_hB.style.pixelTop=_7C+__C().scrollTop;}else if(_zC=="bottomright"){_hB.style.pixelLeft=_6C+__C().scrollLeft+__C().clientWidth-_hB.offsetWidth;
_hB.style.pixelTop=_7C+__C().scrollTop+__C().clientHeight-_hB.offsetHeight;}else if(_zC=="bottomleft"){_hB.style.pixelLeft=_6C+__C().scrollLeft;_hB.style.pixelTop=_7C+__C().scrollTop+__C().clientHeight-_hB.offsetHeight;}else if(_zC=="topleft"){_hB.style.pixelLeft=_6C+__C().scrollLeft;_hB.style.pixelTop=_7C+__C().scrollTop;}else{}_hB.style.display="block";};function _3C(){window.attachEvent("onscroll",_2C);window.attachEvent("onresize",_2C);window.attachEvent("onreadystatechange",_2C);window.attachEvent("onload",_2C);_IC(_2C,100);_IC(_2C,250);_IC(_2C,500);_IC(_2C,1000);_IC(_2C,2000);_IC(_2C,4000);
_IC(_2C,8000);}function _UC(_Z,_a,_b,_5C){if(!_y()){_5C=false;}_Z=_0C(_Z,_b);_aC(_b);var _c=_RC(_b);var _OC=' style="position:absolute;z-index:0;visibility: hidden;background-color: transparent;overflow:hidden;"';if(_i()&&!_o()){if(_5C){_5C=_5C.toString().toLowerCase();if((_5C !="topright")&&(_5C !="topleft")&&(_5C !="bottomright")&&(_5C !="bottomleft")&&(_5C !="none")){_5C="topright";}if(_5C=="none"){_5C=false;}_zC=_5C;}if(!_JB(_c)){if(_Z){var str="";if(_5C){str=str+'<div id="_4C" style="zIndex:0;position:absolute;border:none;padding:0pt;margin:0pt;background-color:transparent;display:none;">'
}str=str+'<a href="javascript:'+_QC(_a)+'" onmouseover="_eB(event,\''+_X(_iB(_MC,_b))+'\',\''+_c+'\')" onmousemove="_XB(event)"onmouseout="_TC(\''+_c+'\')" ondragstart="return false;"><im'+'g src="'+_X(_Z)+'" border=0 onmousedown="return _KB(event,\''+_X(_iB(_LC,_a))+'\');" oncontextmenu="return _LB(event);" /></a><!---->';if(_5C){str=str+"</div>";_3C();}document.write(str);}document.write('<div id="'+_c+'" name="'+_c+'" '+_OC+' onmouseover="_oB(\''+_c+'\')" onmousemove="_pC(\''+_c+'\')" onmouseout="_pB(\''+_c+'\')">&nbsp;</div>');}}else if(_i()&&_o()){var _fB='<iframe src="'+_X(_iB(_MC,_b))+'" id="'+_c+'_DD" name="'+_c+'_DD" width="'+_P+'" height="'+_Q+'" frameborder="0" allowtransparency="true" style="background:transparent;width:'+_P+';height:'+_Q+'"></iframe>';
if(!_JB(_c)){document.write('<div id="'+_c+'" name="'+_c+'" '+_OC+' onmouseover="_oB(\''+_c+'\')" onmousemove="_pC(\''+_c+'\')" onmouseout="_pB(\''+_c+'\')">'+_fB+'</div>');}if(_Z){document.write('<a href="javascript:'+_QC(_a)+'" onmouseover="_eB(event,\''+_X(_iB(_MC,_b))+'\',\''+_c+'\')" onmousemove="_XB(event)" onmouseout="_TC(\''+_c+'\')" ondragstart="return false;"><im'+'g src="'+_X(_Z)+'" border=0 onmousedown="return _KB(event,\''+_X(_iB(_LC,_a))+'\');" oncontextmenu="return _LB(event);" /></a>');}}else{if(_Z){document.write('<a href="javascript:'+_QC(_a)+'" title="Click to verify" onmouseover="if(window.status=\'Click to verify\'){}"'
+'><im'+'g src="'+_X(_Z)+'" border=0 oncontextmenu="return _LB(event);" title="Click to verify" onmouseover="if(window.status=\'Click to verify\'){}"/></a><!---->');}}}function _rC(left1,top1,width1,height1,left2,top2,width2,height2){if(left1+width1<left2)return false;if(top1+height1<top2)return false;if(left2+width2<left1)return false;if(top2+height2<top1)return false;return true;}function _sC(sty){if(sty.display=="none")return false;if(sty.visibility=="hidden")return false;if(sty.visibility=="visible")return true;return true;}function _tC(e){if(!_sC(e.currentStyle))return false;while(e.currentStyle.visibility=="inherit"){
e=e.parentElement;if(!e)return true;if(!_sC(e.currentStyle))return false;}return true;}function _uC(left,top,width,height,e,_CD){if(!_CD){if(!_tC(e))return false;}var _BD=e.offsetLeft;var _AD=e.offsetTop;for(var _8C=e.offsetParent;_8C;_8C=_8C.offsetParent){_BD+=_8C.clientLeft+_8C.offsetLeft-_8C.scrollLeft;_AD+=_8C.clientTop+_8C.offsetTop-_8C.scrollTop;}_BD-=__C().clientLeft-__C().scrollLeft;_AD-=__C().clientTop-__C().scrollTop;return _rC(left,top,width,height,_BD,_AD,e.offsetWidth,e.offsetHeight);}function _vC(left,top,width,height,coll,_CD){for(var lIndex=0;lIndex<coll.length;lIndex++){if(_uC(left,top,width,height,coll[lIndex],_CD)){
return true;}}return false;}function _jC(){if(_x()){if(false||__C().clientWidth<_P-10||__C().clientHeight<_Q-10||_vC(_OB,_PB,_P,_Q,document.getElementsByTagName("object"))||_vC(_OB,_PB,_P,_Q,document.getElementsByTagName("embed"))||_vC(_OB,_PB,_P,_Q,document.getElementsByTagName("applet"))||_vC(_OB,_PB,_P,_Q,document.getElementsByTagName("select")))return true;return false;}return false;}function _z(){if((_i())&&!_v()){return true;}return false;}var _GB;function _HB(){if(_GB){return _GB;};var _FB="UNSUPPORTED:__B::";var _1=_FB;var _2=_FB;var _3="MSIE5:_tB:_vB:_yB:_wB:_3B:_7B:_5B:_AC:_BC::";var _4="MSIE5_5:_tB:_vB:_yB:_xB:_wB:_3B:_7B:_5B:_AC:_BC:_CC:_DC::";
var _5=_4;var _6=_5;var _7="MACIE5_1:_tB:_vB:_yB:_zB:_wB:_3B:_7B:_5B:_AC:_BC::";var _8=_FB;var _9="OPERA6:_vB:_4B:_xB:_wB:_yB:_3B:_7B:_6B:_sB::";var __=_FB;var _AB="NS6:_vB:_wB:_yB:_2B:_8B:_6B::";var _BB=_AB;var _CB=_FB;var _DB="UP:_tB:_yB:_wB:_7B::";var _EB="UPUP:_vB:_4B:_xB:_wB:_yB:_3B:_7B:_6B::";var _EC=navigator.userAgent;var _FC=navigator.appVersion;_GB=_FB;var _GC=0;if(document.getElementById){_GB=_EB;_GC=_EC.indexOf("Opera ");if(_GC !=-1){var _jB=parseFloat(_EC.substring(_GC+6,_GC+10));if(_jB<5){_GB=_CB;}else if(_jB<=5.999){_GB=_8;}else if(_jB<7){_GB=_9;}else{_GB=_EB;}}else if(navigator.appName=="Microsoft Internet Explorer"){
_GC=_FC.indexOf("MSIE ");var _jB=parseFloat(_FC.substring(_GC+5,_GC+9));if(navigator.platform=="MacPPC"||navigator.platform=="Mac68K"){_GB=_7}else{_GB=_EB;if(_jB<=3.5){_GB=_1;}else if(_jB<=4.5){_GB=_2;}else if(_jB<5.49){_GB=_3;}else if(_jB<6){_GB=_4;}else if(_jB<6.5){_GB=_5;}else{_GB=_6;}}}else if(navigator.appName=="Netscape"){var _jB=parseFloat(_FC);if(_jB<4.7){_GB=_FB;}else if(_jB<4.8){_GB=__}else{_GB=_AB;}}else{_GB=_EB;}}else if(document.all){if(navigator.appName=="Microsoft Internet Explorer"){_GC=_FC.indexOf("MSIE ");var _jB=parseFloat(_FC.substring(_GC+5,_GC+9));if(navigator.platform=="MacPPC"||navigator.platform=="Mac68K"){
_GB=_7}else{_GB=_EB;if(_jB<=3.5){_GB=_1;}else if(_jB<=4.5){_GB=_2;}else if(_jB<5.49){_GB=_3;}else if(_jB<6){_GB=_4;}else if(_jB<6.5){_GB=_5;}else{_GB=_6;}}}else{_GB=_DB;}}else if(document.layers){if(navigator.appName=="Netscape"){var _jB=parseFloat(_FC);if(_jB<4.7){_GB=_CB;}else if(_jB<4.8){_GB=__;}else{_GB=_AB;}}else{_GB=_CB;}}else{_GB=_FB;}return _GB;}function _IB(feat){var _kB=_HB();feat=":"+feat+":";if(_kB.indexOf(feat)==-1){return false;}return true;}function _d(){return _IB("_tB");};function _e(){return _IB("_uB");};function _f(){return _IB("_vB");};function _h(){return _IB("_xB");};function _i(){return _IB("_yB");};
function _j(){return _IB("_zB");};function _l(){return _IB("_1B");};function _m(){return _IB("_2B");};function _n(){return _IB("_3B");};function _o(){return _IB("_4B");};function _p(){return _IB("_5B");};function _q(){return _IB("_6B");};function _r(){return _IB("_7B");};function _s(){return _IB("_8B");};function _t(){return _IB("_AC");};function _u(){return _IB("_sB");};function _x(){return _IB("_CC");};function _v(){return _IB("__B");};function _w(){return _IB("_BC");};function _y(){return _IB("_DC");};function _JB(id){if(_f()){return document.getElementById(id);}else if(_d()){return document.all[id];
}else if(_e()){return document.layers[id];}else{return null;}}function _HC(id){window.clearTimeout(id);}function _IC(str,del){return window.setTimeout(str,del);}function _KB(ev,URL){if(!_z())return true;if(ev.button&2){alert("This logo is protected.");if(_p()){ev.cancelBubble=true;ev.returnValue=false;}else if(_q()){ev.preventDefault();ev.cancelPropagation();}return false;}if(ev.button&1){return true;window.open(URL,'tl_wnd_credentials'+(new Date()).getTime(),_YC);if(_p()){ev.cancelBubble=true;ev.returnValue=false;}else if(_q()){ev.preventDefault();ev.cancelPropagation();}return false;}}function _LB(ev){
if(!_z())return;if(_p()){ev.cancelBubble=true;ev.returnValue=false;}else if(_q()){ev.preventDefault();ev.cancelPropagation();}return false;}function _MB(){if(!_z())return;_QB=0;_nB(_NB,_OB,_PB,_TB);}var _NB="";var _OB=0;var _PB=0;var _QB=0;var _RB=0;var _SB=null;var _TB="";var _UB=false;var _VB=0;var _WB="";function __C(){if(document.compatMode=="CSS1Compat"){return document.body.parentElement;}else{return document.body;}}function _XB(ev){if(!_z())return;if(_WB)return;var _YB;var _ZB;var _aB=0;var _bB=0;var _cB=800;var _dB=600;if(_n()){_aB=__C().scrollLeft;_bB=__C().scrollTop;_cB=__C().clientWidth;
_dB=__C().clientHeight;_YB=ev.clientX+_aB;_ZB=ev.clientY+_bB;}else if(_m()){_YB=ev.pageX;_ZB=ev.pageY;_aB=window.pageXOffset;_bB=window.pageYOffset;_cB=window.innerWidth;_dB=window.innerHeight;}if(_aB+_cB>=_YB+_P){_OB=_YB+_U;}else if(_aB<=_YB-_P){_OB=_YB-_P-_U;}else{_OB=_aB+_cB/2-_P/2;}if(_bB+_dB>=_ZB+_Q){_PB=_ZB+_V;}else if(_bB<=_ZB-_Q){_PB=_ZB-_Q-_V;}else{_PB=_bB+_dB/2-_Q/2;}return true;}function _eB(ev,_SC,_c){if(!_z())return;var _VC='src="'+_X(_SC)+'" id="'+_c+'_DD" name="'+_c+'_DD" width="'+_P+'" height="'+_Q+'"';var _kC='src="'+_lC+_X(_Y(_SC))+'" id="'+_c+'_DD" name="'+_c+'_DD" width="'+_P+'" height="'+_Q+'"';
var _fB='<iframe '+_VC+' frameborder="0" allowtransparency="true" style="background:transparent;overflow:hidden;"></iframe>';var _mC='<iframe '+_kC+' frameborder="0" allowtransparency="true" style="background:transparent;overflow:hidden;" ondeactivate="_IC(\'_lB(\\\''+_c+'\\\');\',1);"></iframe>';var _gB='<layer width='+_P+' height='+_Q+'><layer '+_VC+' style="position:relative;background:transparent;" onmouseover="_oB(\''+_c+'\')" onmouseout="_pB(\''+_c+'\')"></layer></layer>';if(_jC()){_NB=_mC;}else if(_i()){_NB=_fB;}else{return;}if(_TB&&(_c !=_TB)){_lB(_TB);_lB(_c);_mB();}if(_UB)return;var _hB;
if(_i()){_hB=_JB(_c);if(_hB.style.visibility=="visible"){if(_NB !=_WB){if(_RB){_HC(_RB);_RB=0;}_lB(_c);_WB=_NB;}else{if(_RB){_HC(_RB);_RB=0;}return;}}}_XB(ev);_TB=_c;if(!_QB){_QB=_IC("_MB()",_R);if(_RB){_HC(_RB);_RB=0;}}}function _nB(_oC,x,y,_c){if(!_z())return;if(_oC !=_WB){if(_RB){_HC(_RB);_RB=0;}_lB(_c);}_WB=_oC;if(!_z())return;var _hB;if(_i()){_hB=_JB(_c);_hB.style.visibility="visible";if(_hB&&_hB.offsetParent){var xy=new Array(-x,-y);_9C(_hB.offsetParent,xy);x=-xy[0];y=-xy[1];}if(_r()){_hB.style.pixelLeft=x;if(!_j()){_hB.style.pixelTop=y;}_hB.style.pixelWidth=_P;_hB.style.pixelHeight=_Q;}else{
_hB.style.left=x+"px";if(!_j()){_hB.style.top=y+"px";}_hB.style.width=_P+"px";_hB.style.height=_Q+"px";}if(!_o()){_hB.innerHTML=_oC;}if(_jC()){var _qB=_JB(_c+'_DD');}_hB.style.zIndex=0;_hB.style.visibility="visible";}}function _qC(){return !_h()||_jC();}function _TC(_c){if(!_z())return;if(_QB){_HC(_QB);_QB=0;}if(_qC()){if(!_RB){_RB=_IC('_lB("'+_c+'")',_T);}}else{if(!_RB){_RB=_IC('_lB("'+_c+'")',_S);}}}function _pC(_c){if(!_z())return;if(_RB){_HC(_RB);_RB=0;}if(_qC()&&_RB==0){_RB=_IC('_lB("'+_c+'")',_T);}}function _oB(_c){if(!_z())return;if(_RB){_HC(_RB);_RB=0;}if(_qC()&&_RB==0){_RB=_IC('_lB("'+_c+'")',_T);
}}function _pB(_c){if(!_z())return;if(_qC()){if(!_RB){_RB=_IC('_lB("'+_c+'")',_T);}}else{if(!_RB){_RB=_IC('_lB("'+_c+'")',_S);}}}function _lB(_c){if(!_z())return;if(_RB){_RB=0;}if(_QB&&_TB==_c){_HC(_QB);_QB=0;}_WB="";var _hB;if(_i()){_hB=_JB(_c);}if(!_z())return;if(null==_hB){}else if(_i()){_hB.style.visibility="hidden";_hB.innerHTML="";}else{_hB.visibility="hide";}if(!_VB){_UB=true;_VB=_IC("_mB()",_W);}}function _mB(){if(_VB){_VB=0;_UB=false;}} 

// ABOVE THIS LINE IS USED FOR TRUSTLOGO

// BELOW THIS LINE IS USED FOR THE TEXT AREA CONTROL

var isActive = true
function initTextArea(isActive) {
	if (isActive) {
	myLimitedTextarea = new Bs_LimitedTextarea('ProductDetail11_cgsCAttributeControlPG1_dlCardMessage__ctl0_txtCardMessage', 200);
	myLimitedTextarea.infolineCssStyle = "font-family:arial; font-size:11px; color:gray;";
	myLimitedTextarea.draw();}
}

var ie = document.all != null;var moz = !ie && document.getElementById != null && document.layers == null;function bs_isNull(theVar) {
if (typeof(theVar) == 'undefined') return true;if (theVar == null) return true;return false;}
function bs_isObject(theVar) {
ret = false;if (typeof(theVar) == 'object') {
ret = !bs_isNull(theVar);}
return ret;}
function bs_isEmpty(theVar) {
if (bs_isNull(theVar)) return true;if (theVar == '') return true;return false;}
function bs_typeOf(theVar) {
ret = 'undefined';switch (typeof(theVar)) {
case 'boolean':  ret = 'boolean';  break;case 'number':   ret = 'number';   break;case 'string':   ret = 'string';   break;case 'function': ret = 'function'; break;case 'object':
if (bs_isNull(theVar)) {
ret = 'null';break;}
if (theVar.concat && theVar.join && theVar.sort && theVar.pop) {
ret = 'array';break;}
break;case 'undefined':
default:
ret = 'undefined';}
return ret;}
function bs_arrayMerge(obj1, obj2) {
if (!bs_isObject(obj1) || !bs_isObject(obj2)) return false;for (var key in obj2) {obj1[key] = obj2[key];}
return obj1;}
function bs_arrayFlip(aArray) {
var aHash = new Object();type = bs_typeOf(aArray);if (type == 'array') {
for (var i=0; i<aArray.length; i++) {
aHash[aArray[i]] = true;}
} else if (type == 'string') {
if (aArray != '') {
aHash[aArray] = true;}
}
return aHash;}
function queryStringToHash(queryString) {
if (typeof(queryString) == 'undefined') {
var queryString = window.location.search;}
var ret = new Array;if (bs_isEmpty(queryString)) return ret;queryString = queryString.substr(1);if (bs_isEmpty(queryString)) return ret;var junks = queryString.split('&');for (var i=0; i<junks.length; i++) {
var x = junks[i].split('=');if (x.length == 2) {
ret[x[0]] = x[1];} else {
ret[x[0]] = '';}
}
return ret;}
function dump(theVar, doReturn, showFunctions, _out, _indent, _numCall) {
if (!_indent) {
_indent  = ' ';_bsDumpOverallNumCall = 1;} else {
_indent  += ' ';_bsDumpOverallNumCall++;}
if (_bsDumpOverallNumCall < 8) {
if (_out) {
var isInternal = true;} else {
_out = '';_numCall = 1;}
var goOn = true;if (_numCall > 10) {
goOn = false;if (!doReturn) {
goOn = confirm("There have been 10 recursive calls so far. Maybe you have an endless loop. Do you want to continue?");}
if (!goOn) {
_out += _indent + "error/warning: nesting levels too deep (>10 times)!\n";} else {
_numCall = 0;}
}
if (goOn) {
switch (typeof(theVar)) {
case 'object':
for (var key in theVar) {
switch (typeof(theVar[key])) {
case 'function':
if (typeof(showFunctions) == 'boolean') {
if (showFunctions) {
_out += _indent + 'function "' + key + '" => ' + theVar[key] + "\n";} else {
_out += _indent + 'function "' + key + "\n";}
} else {
if (showFunctions == 2) {
_out += _indent + 'function "' + key + '" => ' + theVar[key] + "\n";} else if (showFunctions == 1) {
_out += _indent + 'function "' + key + "\n";} else {
}
}
break;case 'undefined':
break;case 'object':
_out += _indent + key;if (theVar[key] instanceof Array) {
_out += ' (Array) => \n';} else if (theVar[key] instanceof Date) {
_out += ' (Date) => '+ theVar[key] +'\n';} else{
_out += ' (Object) => \n';}
_out = dump(theVar[key], doReturn, showFunctions, _out, _indent + "    ", _numCall+1);break;case 'number':
if (theVar instanceof Date) alert('date');default:
_out += _indent + typeof(theVar[key]) + ' "' + key + '" => ' + theVar[key] + "\n";}
}
break;default:
_out += _indent + typeof(theVar) + ' => ' + theVar + "\n";}
}
}
if (isInternal || doReturn) {
return _out;} else {
alert(_out);return;}
}
function Position(x, y) {
this.x = x;this.y = y;};function getAbsolutePos(el, stopIfAbsolute) {
if (bs_isNull(el)) {
var res = new Position(0, 0);return res;}
var res = new Position(el.offsetLeft, el.offsetTop);if (el.offsetParent) {
if ((stopIfAbsolute != true ) || ((el.offsetParent.currentStyle.position != 'absolute') && (el.offsetParent.currentStyle.position != 'relative') && (el.offsetParent.currentStyle.overflow != 'auto') && (el.offsetParent.currentStyle.overflow != 'scroll'))) {
var tmp = getAbsolutePos(el.offsetParent, stopIfAbsolute);res.x += tmp.x;res.y += tmp.y;}
}
return res;};if ("undefined" != typeof(HTMLElement)) {
if ("undefined" == typeof(HTMLElement.insertAdjacentElement)) {
HTMLElement.prototype.insertAdjacentElement = function(where, parsedNode)	{
switch(where){
case 'beforeBegin':
this.parentNode.insertBefore(parsedNode,this)
break;case 'afterBegin':
this.insertBefore(parsedNode,this.firstChild);break;case 'beforeEnd':
this.appendChild(parsedNode);break;case 'afterEnd':
if (this.nextSibling) this.parentNode.insertBefore(parsedNode,this.nextSibling);else this.parentNode.appendChild(parsedNode);break;}
}
}
}
if (moz) {
extendEventObject();emulateAttachEvent();emulateEventHandlers(["click", "dblclick", "mouseover", "mouseout",
"mousedown", "mouseup", "mousemove",
"keydown", "keypress", "keyup"]);emulateCurrentStyle(["left", "right", "top", "bottom", "width", "height"]);emulateHTMLModel();Event.LEFT = 1;Event.MIDDLE = 2;Event.RIGHT = 3;}
else {
Event = {};Event.LEFT = 1;Event.MIDDLE = 4;Event.RIGHT = 2;}
function extendEventObject() {
Event.prototype.__defineSetter__("returnValue", function (b) {
if (!b) this.preventDefault();return b;});Event.prototype.__defineSetter__("cancelBubble", function (b) {
if (b) this.stopPropagation();return b;});Event.prototype.__defineGetter__("srcElement", function () {
var node = this.target;while (node.nodeType != 1) node = node.parentNode;return node;});Event.prototype.__defineGetter__("fromElement", function () {
var node;if (this.type == "mouseover")
node = this.relatedTarget;else if (this.type == "mouseout")
node = this.target;if (!node) return;while (node.nodeType != 1) node = node.parentNode;return node;});Event.prototype.__defineGetter__("toElement", function () {
var node;if (this.type == "mouseout")
node = this.relatedTarget;else if (this.type == "mouseover")
node = this.target;if (!node) return;while (node.nodeType != 1) node = node.parentNode;return node;});Event.prototype.__defineGetter__("offsetX", function () {
return this.layerX;});Event.prototype.__defineGetter__("offsetY", function () {
return this.layerY;});}
function emulateAttachEvent() {
HTMLDocument.prototype.attachEvent =
HTMLElement.prototype.attachEvent = function (sType, fHandler) {
		var shortTypeName = sType.replace(/on/, "");
fHandler._ieEmuEventHandler = function (e) {
window.event = e;return fHandler();};this.addEventListener(shortTypeName, fHandler._ieEmuEventHandler, false);};HTMLDocument.prototype.detachEvent =
HTMLElement.prototype.detachEvent = function (sType, fHandler) {
		var shortTypeName = sType.replace(/on/, "");
if (typeof fHandler._ieEmuEventHandler == "function")
this.removeEventListener(shortTypeName, fHandler._ieEmuEventHandler, false);else
this.removeEventListener(shortTypeName, fHandler, true);};}
function emulateEventHandlers(eventNames) {
for (var i = 0; i < eventNames.length; i++) {
document.addEventListener(eventNames[i], function (e) {
window.event = e;}, true);}
}
function emulateAllModel() {
var allGetter = function () {
var a = this.getElementsByTagName("*");var node = this;a.tags = function (sTagName) {
return node.getElementsByTagName(sTagName);};return a;};HTMLDocument.prototype.__defineGetter__("all", allGetter);HTMLElement.prototype.__defineGetter__("all", allGetter);}
function extendElementModel() {
HTMLElement.prototype.__defineGetter__("parentElement", function () {
if (this.parentNode == this.ownerDocument) return null;return this.parentNode;});HTMLElement.prototype.__defineGetter__("children", function () {
var tmp = [];var j = 0;var n;for (var i = 0; i < this.childNodes.length; i++) {
n = this.childNodes[i];if (n.nodeType == 1) {
tmp[j++] = n;if (n.name) {
if (!tmp[n.name])
tmp[n.name] = [];tmp[n.name][tmp[n.name].length] = n;}
if (n.id)
tmp[n.id] = n
}
}
return tmp;});HTMLElement.prototype.contains = function (oEl) {
if (oEl == this) return true;if (oEl == null) return false;return this.contains(oEl.parentNode);};}
function emulateCurrentStyle(properties) {
HTMLElement.prototype.__defineGetter__("currentStyle", function () {
var cs = {};var el = this;for (var i = 0; i < properties.length; i++) {
cs.__defineGetter__(properties[i], encapsulateObjects(el, properties[i]));}
return cs;});}
function encapsulateObjects(el, sProperty) {
return function () {
return document.defaultView.getComputedStyle(el, null).getPropertyValue(sProperty);};}
function emulateHTMLModel() {
function convertTextToHTML(s) {
		s = s.replace(/\&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\n/g, "<BR>");
while (/\s\s/.test(s))
			s = s.replace(/\s\s/, "&nbsp; ");
		return s.replace(/\s/g, " ");
}
HTMLElement.prototype.insertAdjacentHTML = function (sWhere, sHTML) {
var df;var r = this.ownerDocument.createRange();switch (String(sWhere).toLowerCase()) {
case "beforebegin":
r.setStartBefore(this);df = r.createContextualFragment(sHTML);this.parentNode.insertBefore(df, this);break;case "afterbegin":
r.selectNodeContents(this);r.collapse(true);df = r.createContextualFragment(sHTML);this.insertBefore(df, this.firstChild);break;case "beforeend":
r.selectNodeContents(this);r.collapse(false);df = r.createContextualFragment(sHTML);this.appendChild(df);break;case "afterend":
r.setStartAfter(this);df = r.createContextualFragment(sHTML);this.parentNode.insertBefore(df, this.nextSibling);break;}
};HTMLElement.prototype.__defineSetter__("outerHTML", function (sHTML) {
var r = this.ownerDocument.createRange();r.setStartBefore(this);var df = r.createContextualFragment(sHTML);this.parentNode.replaceChild(df, this);return sHTML;});HTMLElement.prototype.__defineGetter__("canHaveChildren", function () {
switch (this.tagName) {
case "AREA":
case "BASE":
case "BASEFONT":
case "COL":
case "FRAME":
case "HR":
case "IMG":
case "BR":
case "INPUT":
case "ISINDEX":
case "LINK":
case "META":
case "PARAM":
return false;}
return true;});HTMLElement.prototype.__defineGetter__("outerHTML", function () {
var attr, attrs = this.attributes;var str = "<" + this.tagName;for (var i = 0; i < attrs.length; i++) {
attr = attrs[i];if (attr.specified)
str += " " + attr.name + '="' + attr.value + '"';}
if (!this.canHaveChildren)
return str + ">";return str + ">" + this.innerHTML + "</" + this.tagName + ">";});HTMLElement.prototype.__defineSetter__("innerText", function (sText) {
this.innerHTML = convertTextToHTML(sText);return sText;});var tmpGet;HTMLElement.prototype.__defineGetter__("innerText", tmpGet = function () {
var r = this.ownerDocument.createRange();r.selectNodeContents(this);return r.toString();});HTMLElement.prototype.__defineSetter__("outerText", function (sText) {
this.outerHTML = convertTextToHTML(sText);return sText;});HTMLElement.prototype.__defineGetter__("outerText", tmpGet);HTMLElement.prototype.insertAdjacentText = function (sWhere, sText) {
this.insertAdjacentHTML(sWhere, convertTextToHTML(sText));};}
//if (!Bs_Objects) {var Bs_Objects = [];};function bs_lt_checkLength() {
if (!Bs_Objects) {var Bs_Objects = [];};function bs_lt_checkLength() {
event.srcElement.bsObj.checkLength();event.srcElement.bsObj._updateBgColorWarning();event.srcElement.bsObj._updateProgressBar();}
function Bs_LimitedTextarea(elementId, maxLength) {
var a = arguments;if (a.length>2) {
elementId = a[1];maxLength = a[2];}
this._objectId;this.infolineText = '&nbsp;&nbsp;&nbsp;Max 200 characters. Remaining:';this.infolineCssClass;this.infolineCssStyle;this.numberCssClass;this.numberCssStyle;this._elementId  = elementId;this._element    = document.getElementById(elementId);this._maxLength = maxLength;this.useProgressBar = false;this._lastNumProgressBars;
this._constructor = function() {
this._id = Bs_Objects.length;Bs_Objects[this._id] = this;this._objectId = "Bs_LimitedTextarea_"+this._id;}
this.draw = function() {
if (isNaN(this._maxLength)) return;if (this._maxLength <= 0) return;this._element.bsObj = this;try {
var htmlStr = '<br>';if (this.useProgressBar) {
htmlStr += '<div id="' + this._objectId + '_progess" style="overflow:hidden; width:' + this._element.offsetWidth + 'px; height:18px; border:2px inset;';htmlStr += '">';htmlStr += '<img src="images/clear.gif" width="1" height="1" border="0">';htmlStr += '</div>';}
htmlStr += '<div';if (typeof(this.infolineCssClass) == 'string') htmlStr += ' class="' + this.infolineCssClass + '"';if (typeof(this.infolineCssStyle) == 'string') htmlStr += ' style="' + this.infolineCssStyle + '"';htmlStr += '>' + this.infolineText + ' <div ';htmlStr += ' style="display:inline;';if (typeof(this.numberCssStyle) == 'string') htmlStr += this.numberCssStyle;htmlStr += '"';if (typeof(this.numberCssClass) == 'string') htmlStr += ' class="' + this.numberCssClass + '"';htmlStr += 'id="' + this._objectId + '_no"></div>';htmlStr += '</div>';this._element.insertAdjacentHTML('afterEnd', htmlStr);} catch (e) {
}
try {
this._element.attachEvent('onchange', bs_lt_checkLength);this._element.attachEvent('onkeyup',  bs_lt_checkLength);this._element.attachEvent('onpaste',  bs_lt_checkLength);} catch (e) {
}
this.checkLength();this._updateBgColorWarning();this._updateProgressBar();}
this.setValue = function(val) {
this._element.value = val;this.checkLength();}
this.getValue = function() {
this.checkLength();return this._element.value;}
this.setMaxLength = function(maxLength) {
this._maxLength = maxLength;this.checkLength();}
this.getMaxLength = function() {
return this._maxLength;}
this.getCurrentLength = function() {
return this._element.value.length;}
this.checkLength = function() {
if (this._element.value.length > this._maxLength) this._element.value = this._element.value.substr(0, this._maxLength);try {
document.getElementById(this._objectId + '_no').innerHTML = this._maxLength - this._element.value.length;} catch (e) {
}
}
this.setBgColorWarning = function(kickInValue, kickInType, endColor) {
if (typeof(hexdec) == 'undefined') {
alert("Webmaster: please include the library: /_bsJavascript/core/gfx/Bs_ColorUtil.lib.js. Otherwise the 'setBgColorWarning()' feature won't work.");}
this._bgColorWarning = new Object;if (bs_isNull(kickInValue)) {
kickInValue = 80;kickInType  = '%';}
if ((kickInType == '%') || (bs_isNull(kickInType))) {
kickInValue = parseInt(this._maxLength / 100 * kickInValue);}
this._bgColorWarning.kickInValue = kickInValue;this._bgColorWarning.endColor    = (!bs_isEmpty(endColor)) ? endColor : 'FF4040';if (moz) {
if (!bs_isEmpty(this._element.currentStyle.backgroundColor)) {
var startColor = this._element.currentStyle.backgroundColor;} else if (!bs_isEmpty(this._element.style.backgroundColor)) {
var startColor = this._element.style.backgroundColor;}
if ((typeof(startColor) != 'undefined') && (startColor.substr(0, 4) == 'rgb(')) {
var csvString = startColor.substring(4, startColor.length -1);var csvJunks  = csvString.split(', ');startColor = '';for (var i=0; i<3; i++) {
startColor += parseInt(csvJunks[i]).toString(16);}
}
} else {
try {
var startColor = this._element.currentStyle.backgroundColor;} catch (e) {
try {
var startColor = this._element.style.backgroundColor;} catch (ee) {
var startColor = 'ffffff';}
}
}
if (typeof(startColor) != 'string') startColor = 'ffffff';if (startColor.substr(0,1) == '#') startColor = startColor.substr(1);if (startColor.length != 6) startColor = 'ffffff';this._bgColorWarning.startColor = startColor;}
this._updateBgColorWarning = function() {
if (typeof(this._bgColorWarning) == 'undefined') return;var startWarningAt = this._bgColorWarning.kickInValue;var startColor = this._bgColorWarning.startColor;var endColor   = this._bgColorWarning.endColor;var startRed   = hexdec(startColor.substr(0,2));var startGreen = hexdec(startColor.substr(2,2));var startBlue  = hexdec(startColor.substr(4,2));var endRed     = hexdec(endColor.substr(0,2));var endGreen   = hexdec(endColor.substr(2,2));var endBlue    = hexdec(endColor.substr(4,2));try {
var lengthNow = this._element.value.length;lengthUse = lengthNow - startWarningAt;if (lengthUse <= 0) {
var color = startColor;} else {
var percent = lengthUse * 100 / (this._maxLength - startWarningAt);var newRed   = this._mixColor(startRed,   endRed,   percent);var newGreen = this._mixColor(startGreen, endGreen, percent);var newBlue  = this._mixColor(startBlue,  endBlue,  percent);var color = '#' + newRed.toString(16) + newGreen.toString(16) + newBlue.toString(16);}
this._element.style.backgroundColor = color;} catch (e) {
}
}
this._mixColor = function(startColor, endColor, percent) {
var diffColor = endColor - startColor;if (diffColor > 0) {
return startColor + parseInt(diffColor / 100 * percent);} else if (diffColor < 0) {
return startColor + parseInt(diffColor / 100 * percent);} else {
return startColor;}
}
this._updateProgressBar = function() {
if (!this.useProgressBar) return;var progressDiv   = document.getElementById(this._objectId + '_progess');var progressWidth = progressDiv.offsetWidth;var totalBars     = parseInt(progressWidth / 7);var lengthNow = this._element.value.length;if (lengthNow == 0) {
var numBars = 0;} else {
var percent = lengthNow * 100 / this._maxLength;var numBars = Math.ceil(totalBars / 100 * percent);}
if (this._lastNumProgressBars == numBars) return;this._lastNumProgressBars = numBars;var newHtml       = '<img src="/images/clear.gif" width="1" height="1" border="0">';var progressJunk  = '<div style="display:inline; width:5px; height:8px; background-color:#08246B; margin-top:3px; margin-bottom:3px; margin-left:1px; margin-right:1px;"><img src="/images/clear.gif" width="1" height="1" border="0"></div>';for (var i=0; i<numBars; i++) {
newHtml += progressJunk;}
var progressDiv   = document.getElementById(this._objectId + '_progess');progressDiv.innerHTML = newHtml;}
this._constructor();}

// ABOVE THIS LINE IS USED FOR THE TEXT AREA CONTROL