/* Built from X 4.22 by XAG 1.0. 30Sep10 15:39 UT */
var xCookie={get:function(a){var b=document.cookie.match(new RegExp("(^|;)\\s*"+a+"=([^;\\s]*)"));return((b&&b.length>=3)?unescape(b[2]):null)},set:function(a,c,h,f,b,e){if(h){var g=new Date();g.setTime(g.getTime()+(h*86400000))}document.cookie=a+"="+escape(c)+(h?("; expires="+g.toGMTString()):"")+"; path="+(f||"/")+(b?("; domain="+b):"")+(e?"; secure":"")},del:function(a,c,b){this.set(a,"",-1,c,b)}};xLibrary={version:"4.22",license:"GNU LGPL",url:"http://cross-browser.com/"};function xAddEventListener(d,c,b,a){if(!(d=xGetElementById(d))){return}c=c.toLowerCase();if(d.addEventListener){d.addEventListener(c,b,a||false)}else{if(d.attachEvent){d.attachEvent("on"+c,b)}else{var f=d["on"+c];d["on"+c]=typeof f=="function"?function(e){f(e);b(e)}:b}}}function xCamelize(d){var e,g,b,f;b=d.split("-");f=b[0];for(e=1;e<b.length;++e){g=b[e].charAt(0);f+=b[e].replace(g,g.toUpperCase())}return f}function xClientHeight(){var b=0,c=document,a=window;if((!c.compatMode||c.compatMode=="CSS1Compat")&&c.documentElement&&c.documentElement.clientHeight){b=c.documentElement.clientHeight}else{if(c.body&&c.body.clientHeight){b=c.body.clientHeight}else{if(xDef(a.innerWidth,a.innerHeight,c.width)){b=a.innerHeight;if(c.width>a.innerWidth){b-=16}}}}return b}function xDef(){for(var a=0;a<arguments.length;++a){if(typeof(arguments[a])=="undefined"){return false}}return true}function xGetComputedStyle(g,f,c){if(!(g=xGetElementById(g))){return null}var d,a="undefined",b=document.defaultView;if(b&&b.getComputedStyle){d=b.getComputedStyle(g,"");if(d){a=d.getPropertyValue(f)}}else{if(g.currentStyle){a=g.currentStyle[xCamelize(f)]}else{return null}}return c?(parseInt(a)||0):a}function xGetElementById(a){if(typeof(a)=="string"){if(document.getElementById){a=document.getElementById(a)}else{if(document.all){a=document.all[a]}else{a=null}}}return a}function xHeight(i,f){var d,g=0,c=0,b=0,j=0,a;if(!(i=xGetElementById(i))){return 0}if(xNum(f)){if(f<0){f=0}else{f=Math.round(f)}}else{f=-1}d=xDef(i.style);if(i==document||i.tagName.toLowerCase()=="html"||i.tagName.toLowerCase()=="body"){f=xClientHeight()}else{if(d&&xDef(i.offsetHeight)&&xStr(i.style.height)){if(f>=0){if(document.compatMode=="CSS1Compat"){a=xGetComputedStyle;g=a(i,"padding-top",1);if(g!==null){c=a(i,"padding-bottom",1);b=a(i,"border-top-width",1);j=a(i,"border-bottom-width",1)}else{if(xDef(i.offsetHeight,i.style.height)){i.style.height=f+"px";g=i.offsetHeight-f}}}f-=(g+c+b+j);if(isNaN(f)||f<0){return}else{i.style.height=f+"px"}}f=i.offsetHeight}else{if(d&&xDef(i.style.pixelHeight)){if(f>=0){i.style.pixelHeight=f}f=i.style.pixelHeight}}}return f}function xLeft(c,a){if(!(c=xGetElementById(c))){return 0}var b=xDef(c.style);if(b&&xStr(c.style.left)){if(xNum(a)){c.style.left=a+"px"}else{a=parseInt(c.style.left);if(isNaN(a)){a=xGetComputedStyle(c,"left",1)}if(isNaN(a)){a=0}}}else{if(b&&xDef(c.style.pixelLeft)){if(xNum(a)){c.style.pixelLeft=a}else{a=c.style.pixelLeft}}}return a}function xMoveTo(b,a,c){xLeft(b,a);xTop(b,c)}function xNum(){for(var a=0;a<arguments.length;++a){if(isNaN(arguments[a])||typeof(arguments[a])!="number"){return false}}return true}function xOpacity(a,b){var c=xDef(b);if(!(a=xGetElementById(a))){return 2}if(xStr(a.style.opacity)){if(c){a.style.opacity=b+""}else{b=parseFloat(a.style.opacity)}}else{if(xStr(a.style.filter)){if(c){a.style.filter="alpha(opacity="+(100*b)+")"}else{if(a.filters&&a.filters.alpha){b=a.filters.alpha.opacity/100}}}else{if(xStr(a.style.MozOpacity)){if(c){a.style.MozOpacity=b+""}else{b=parseFloat(a.style.MozOpacity)}}else{if(xStr(a.style.KhtmlOpacity)){if(c){a.style.KhtmlOpacity=b+""}else{b=parseFloat(a.style.KhtmlOpacity)}}}}}return isNaN(b)?1:b}function xPageX(b){var a=0;b=xGetElementById(b);while(b){if(xDef(b.offsetLeft)){a+=b.offsetLeft}b=xDef(b.offsetParent)?b.offsetParent:null}return a}function xPageY(a){var b=0;a=xGetElementById(a);while(a){if(xDef(a.offsetTop)){b+=a.offsetTop}a=xDef(a.offsetParent)?a.offsetParent:null}return b}function xRemoveEventListener(d,c,b,a){if(!(d=xGetElementById(d))){return}c=c.toLowerCase();if(d.removeEventListener){d.removeEventListener(c,b,a||false)}else{if(d.detachEvent){d.detachEvent("on"+c,b)}else{d["on"+c]=null}}}function xStr(b){for(var a=0;a<arguments.length;++a){if(typeof(arguments[a])!="string"){return false}}return true}function xStyle(p,v){var i,e;for(i=2;i<arguments.length;++i){e=xGetElementById(arguments[i]);try{e.style[p]=v}catch(ex){
/*@cc_on
@if (@_jscript_version <= 5.7) // IE7 and down
if(p!='display'){continue;}var s='',t=e.tagName.toLowerCase();switch(t){case'table':case'tr':case'td':case'li':s='block';break;case'caption':s='inline';break;}e.style[p]=s;
@end @*/
}}}function xTop(b,c){if(!(b=xGetElementById(b))){return 0}var a=xDef(b.style);if(a&&xStr(b.style.top)){if(xNum(c)){b.style.top=c+"px"}else{c=parseInt(b.style.top);if(isNaN(c)){c=xGetComputedStyle(b,"top",1)}if(isNaN(c)){c=0}}}else{if(a&&xDef(b.style.pixelTop)){if(xNum(c)){b.style.pixelTop=c}else{c=b.style.pixelTop}}}return c}if(top.location!=document.location){top.location=document.location}var EOSS_COOKIE="gc-eoss";xAddEventListener(window,"load",WOL,false);function WOL(){var a,g,f,e;WOR();xAddEventListener(window,"resize",WOR,false);if(typeof window.app_init!="undefined"){app_init()}a=xGetElementById("vp-base");if(a){xOpacity(a,0.2)}a=xGetElementById("eos-atc-btn");if(a){a.onclick=eos_atc_submit}}function eosHide(a){var b=(typeof a=="undefined")?window.event:a;if(b.type=="click"||(b.type=="keypress"&&b.keyCode==27)){popup.hide();xRemoveEventListener(document,"keypress",eosHide,false);xRemoveEventListener("sale-ttl-r","click",eosHide,false)}}function WOR(){var e=xGetElementById("idSideColumn"),d=xGetElementById("idMainColumn"),c=xGetElementById("idFooter"),a,f=xPageY(d),b=xHeight(d);if(e){b=Math.max(xHeight(e),b);a=xPageX(e)}else{a=xPageX(d)}xMoveTo(c,a,f+b+20);c.style.visibility="visible";if(window.winOnLoad){winOnLoad()}}function eos_atc_submit(){var a=xGetElementById("sale-txt-con");if(a){a.innerHTML="<p>&nbsp;</p><p><b>Thank<br>You!</b><p>&nbsp;</p><p>Now loading PayPal Shopping Cart...</p>"}xCookie.set(EOSS_COOKIE,"added to cart",1,"/",".gonecoastal.net");a=document.forms.frmEosAddToCart;a.shopping_url.value=document.URL;a.submit()}function atc_submit(a,b,d){var c=document.forms.frmAddToCart;c.amount.value=b;c.item_number.value=a;c.item_name.value=d;c.shopping_url.value=document.URL;c.submit()}function view_cart(){var a=document.forms.frmViewCart;a.shopping_url.value=document.URL;a.submit()}var popup={hide:function(){this.vp(false)},show:function(){this.vp(true)},vp:function(c){var h="display",e="table",g="100%",a=xGetElementById("vp-base"),f=xGetElementById("vp-sale");if(a&&f){if(c){xStyle(h,e,a);a.style.width=g;a.style.height=g;xStyle(h,e,f);f.style.width=g;f.style.height=g}else{a.style.display="none";f.style.display="none"}}}};
