function imgPropertyChanged(){if(window.event.propertyName=="src"&&!inImgPropertyChanged){inImgPropertyChanged=true;var a=window.event.srcElement;if(a.src!=smallTransparentGif){a.filters.item(0).src=a.src;a.src=smallTransparentGif}inImgPropertyChanged=false}}function detectBrowser(){windowsInternetExplorer=false;var a=navigator.appVersion;if(a.indexOf("MSIE")!=-1&&a.indexOf("Macintosh")==-1){var b=a.split("MSIE");browserVersion=parseFloat(b[1]);windowsInternetExplorer=true}}function IMmouseout(a,b){var c=a+"_link_"+b;var d=document.getElementById(c);if(d){d.src=self[c].src}return true}function IMmouseover(a,b){var c=a+"_rollover_"+b;var d=a+"_link_"+b;var e=document.getElementById(d);if(e){e.src=self[c].src}return true}function IMpreload(a,b,c){var d=b+"_rollover_"+c;var e=a+"/"+d+".png";self[d]=new Image;self[d].src=e;var f=b+"_link_"+c;var g=a+"/"+f+".png";self[f]=new Image;self[f].src=g;return true}function NBmouseout(a){var b=document.getElementById("navbar_"+a+"_normal");var c=document.getElementById("navbar_"+a+"_rollover");if(b&&c){b.style.visibility="visible";c.style.visibility="hidden"}return true}function NBmouseover(a){var b=document.getElementById("navbar_"+a+"_normal");var c=document.getElementById("navbar_"+a+"_rollover");if(b&&c){b.style.visibility="hidden";c.style.visibility="visible"}return true}function onPageLoad(){detectBrowser();adjustLineHeightIfTooBig("id2");adjustFontSizeIfTooBig("id2");adjustLineHeightIfTooBig("id6");adjustFontSizeIfTooBig("id6");adjustLineHeightIfTooBig("id15");adjustFontSizeIfTooBig("id15");fixupIEPNG("id1","Shop_files/transparent.gif");fixupIEPNG("id3","Shop_files/transparent.gif");fixupAllIEPNGBGs();fixupIEPNG("id4","Shop_files/transparent.gif");fixupIEPNG("id5","Shop_files/transparent.gif");fixupIEPNG("id7","Shop_files/transparent.gif");fixupIEPNG("id8","Shop_files/transparent.gif");fixupIEPNG("id9","Shop_files/transparent.gif");fixupIEPNG("id10","Shop_files/transparent.gif");fixupIEPNG("id11","Shop_files/transparent.gif");fixupIEPNG("id12","Shop_files/transparent.gif");fixupIEPNG("id13","Shop_files/transparent.gif");fixupIEPNG("id14","Shop_files/transparent.gif");fixupIEPNG("shapeimage_5_link_0","Shop_files/transparent.gif");fixupIEPNG("shapeimage_5","Shop_files/transparent.gif");return true}function getParaDescendants(a){var b=new Array;var c=a.getElementsByTagName("DIV");for(var d=0;d<c.length;d++){var e=c.item(d);if(e.className.lastIndexOf("paragraph")!=-1){b.push(e)}}return b}function getChildOfType(a,b,c){var d=a.getElementsByTagName(b);return c<d.length?d.item(c):null}function fixupAllIEPNGBGs(){if(windowsInternetExplorer&&browserVersion<7){try{var a=document.getElementsByTagName("DIV");for(var b=0;b<a.length;b++){var c=a.item(b);if(c.currentStyle&&c.currentStyle.backgroundImage&&c.currentStyle.backgroundImage.indexOf("url(")!=-1&&c.currentStyle.backgroundImage.indexOf('.png")')!=-1){fixupIEPNGBG(c)}}}catch(d){}}}function fixupIEPNGBG(a){if(a){var b=a.currentStyle.backgroundImage;var c=a.currentStyle.backgroundRepeat;var d=b.indexOf("url(");var e=b.indexOf(")",d);var f=b.substring(d+4,e);if(f.charAt(0)=='"'){f=f.substring(1)}if(f.charAt(f.length-1)=='"'){f=f.substring(0,f.length-1)}var g=false;var h="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+f+"', sizingMethod='crop');";if(RegExp("/C[0-9A-F]{8}.png$").exec(f)!=null){h="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+f+"', sizingMethod='scale');";g=true}var i=new Image;i.src=f;var j=i.width;var k=i.height;var l=0;var m=0;if(a.style.width){l=parseInt(a.style.width)}else{l=a.offsetWidth}if(a.style.height){m=parseInt(a.style.height)}else{m=a.offsetHeight}if(l==0||m==0){return}var n=1;var o=1;var p=0;var q=0;if(c.indexOf("no-repeat")!=-1||j==0&&k==0||g){j=l;k=m}else if(c.indexOf("repeat-x")!=-1||k==0){o=Math.floor(l/j);q=l-j*o;k=m}else if(c.indexOf("repeat-y")!=-1){n=Math.floor(m/k);p=m-k*n;j=l}else{o=Math.floor(l/j);n=Math.floor(m/k);q=l-j*o;p=m-k*n}var r=document.createElement("div");r.style.position="relative";r.style.zIndex="1";r.style.left="0px";r.style.top="0px";if(!isNaN(parseInt(a.style.width))){r.style.width=""+l+"px"}if(!isNaN(parseInt(a.style.height))){r.style.height=""+m+"px"}var s=true;while(a.hasChildNodes()){if(a.firstChild.nodeType==3){if(RegExp("^ *$").exec(a.firstChild.data)==null){s=false}}else{s=false}r.appendChild(a.firstChild)}if(s){r.style.lineHeight="0px"}var t="";for(var u=0;u<n;u++){for(currentCol=0;currentCol<o;currentCol++){t+="<div style="+'"position: absolute; line-height: 0px; '+"width: "+j+"px; "+"height: "+k+"px; "+"left:"+currentCol*j+"px; "+"top:"+u*k+"px; "+"filter:"+h+'" > </div>'}if(q!=0){t+="<div style="+'"position: absolute; line-height: 0px; '+"width: "+q+"px; "+"height: "+k+"px; "+"left:"+currentCol*j+"px; "+"top:"+u*k+"px; "+"filter:"+h+'" > </div>'}}if(p!=0){for(currentCol=0;currentCol<o;currentCol++){t+="<div style="+'"position: absolute; line-height: 0px; '+"width: "+j+"px; "+"height: "+p+"px; "+"left:"+currentCol*j+"px; "+"top:"+u*k+"px; "+"filter:"+h+'" > </div>'}if(q!=0){t+="<div style="+'"position: absolute; line-height: 0px; '+"width: "+q+"px; "+"height: "+p+"px; "+"left:"+currentCol*j+"px; "+"top:"+u*k+"px; "+"filter:"+h+'" > </div>'}}a.innerHTML=t;a.appendChild(r);a.style.background=""}}function fixupIEPNG(a,b){smallTransparentGif=b;if(windowsInternetExplorer&&browserVersion<7){var c=document.getElementById(a);if(c){var d=c.src;c.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+d+"', sizingMethod='scale')";c.src=b;c.attachEvent("onpropertychange",imgPropertyChanged)}}}function adjustLineHeightIfTooBig(a){var b;var c;var d;var b=document.getElementById(a);if(b){c=getChildOfType(b,"DIV",0);if(c){d=getChildOfType(c,"DIV",0);if(d){var e=d.offsetHeight;var f=e;if(c.style.height!=""){f=parseFloat(c.style.height)}else if(b.style.height!=""){f=parseFloat(b.style.height)}if(e>f){var g=true;var h=0;while(g&&e>f&&h<10){g=false;++h;var k=getParaDescendants(d);for(i=0;i<k.length;i++){var l=k[i];if(l.nodeName=="DIV"){var m=elementFontSize(l);var n=elementLineHeight(l)*.95;if(n>=m*1.1){l.style.lineHeight=n+UNITS;g=true}for(j=0;j<l.childNodes.length;j++){var o=l.childNodes[j];if(o.nodeName=="SPAN"||o.nodeName=="A"){var m=elementFontSize(o);var n=elementLineHeight(o)*.95;if(n>=m*1.1){o.style.lineHeight=n+UNITS;var g=true}}}}}e=d.offsetHeight}}}}}}function elementLineHeight(a){var b=MINIMUM_FONT;if(document.defaultView){var c=document.defaultView.getComputedStyle(a,null);if(c){b=c.getPropertyValue("line-height")}}else if(a.currentStyle){b=a.currentStyle.lineHeight}if(UNITS.length==0&&b!=MINIMUM_FONT){UNITS=b.substring(b.length-2,b.length)}return parseFloat(b)}function adjustFontSizeIfTooBig(a){var b;var c;var d;var b=document.getElementById(a);if(b){c=getChildOfType(b,"DIV",0);if(c){d=getChildOfType(c,"DIV",0);if(d){var e=d.offsetHeight;var f=e;if(c.style.height!=""){f=parseFloat(c.style.height)}else if(b.style.height!=""){f=parseFloat(b.style.height)}if(e>f){var g=200;var h=getParaDescendants(d);var k=false;for(i=0;i<h.length;i++){var l=h[i];var m=elementLineHeight(l);k=k||m*1.5>=f;if(l.nodeName=="DIV"){var n=elementFontSize(l);g=Math.min(g,n);for(j=0;j<l.childNodes.length;j++){var o=l.childNodes[j];if(o.nodeName=="SPAN"||o.nodeName=="A"){n=elementFontSize(o);g=Math.min(g,n)}}}}var p=parseFloat(MINIMUM_FONT);var q=0;while(g>p&&e>f&&q<10){++q;if(k){var r=parseInt(b.style.width);d.style.width=""+r*Math.pow(1.05,q)+"px"}else{var s=Math.max(.95,p/g);for(i=0;i<h.length;i++){var l=h[i];if(l.nodeName=="DIV"){var t=elementFontSize(l)*s;var u=elementLineHeight(l)*s;for(j=0;j<l.childNodes.length;j++){var o=l.childNodes[j];if(o.nodeName=="SPAN"||o.nodeName=="A"){var v=elementFontSize(o)*s;var w=elementLineHeight(o)*s;o.style.fontSize=v+UNITS;o.style.lineHeight=w+UNITS;g=Math.min(g,v)}}l.style.fontSize=t+UNITS;l.style.lineHeight=u+UNITS;g=Math.min(g,t)}}}e=d.offsetHeight}}}}}}function elementFontSize(a){var b=MINIMUM_FONT;if(document.defaultView){var c=document.defaultView.getComputedStyle(a,null);if(c){b=c.getPropertyValue("font-size")}}else if(a.currentStyle){b=a.currentStyle.fontSize}if(UNITS.length==0&&b!=MINIMUM_FONT){UNITS=b.substring(b.length-2,b.length)}return parseFloat(b)}IMpreload("Shop_files","shapeimage_5","0");var MINIMUM_FONT="10";var UNITS="";var smallTransparentGif="";var windowsInternetExplorer=false;var browserVersion=0;var inImgPropertyChanged=false
