function showhide(a) { if (document.getElementById(a).style.display == "none") { document.getElementById(a).style.display = "block" } else { document.getElementById(a).style.display = "none" } } function loadImage(a) { document.getElementById("imgPhoto").src = a } function openwin(a) { newwindow = window.open(a, "name", "height=500, width=660, scrollbars=yes, toolbar=no, resizable=yes, statusbar=no"); if (window.focus) { newwindow.focus() } } function openimage(a) { newwindow = window.open(a, "name", "height=1000, width=780, scrollbars=yes, toolbar=no, resizable=yes, statusbar=no"); if (window.focus) { newwindow.focus() } } function loadXLImage(b, a, c) { document.getElementById("imgPhoto").src = b; document.getElementById("imageName").value = a; document.getElementById("imageId").value = c } function openXLImage(a) { a = a + document.getElementById("imageId").value; newwindow = window.open(a, "name", "height=1000, width=850, scrollbars=yes, toolbar=no, resizable=yes, statusbar=no"); if (window.focus) { newwindow.focus() } } function hideText() { document.getElementById("header_txtSearch").value = "" } function submitSearch(a) { if (a.keyCode == 13) { a.cancelBubble = true; a.returnValue = false; __doPostBack("header$styleSearch", "") } } function NextImage(a, f) { var c = f.split(","); var e = document.getElementById(a); var d = e.src.toString().substring(e.src.toString().lastIndexOf("/") + 1); for (var b = 0; b < c.length; b++) { if (escape(c[b]) == d) { if (b == c.length - 1) { e.src = "http://d5yjppyekae0b.cloudfront.net/thumb/" + c[0] } else { e.src = "http://d5yjppyekae0b.cloudfront.net/thumb/" + c[b + 1] } break } } };

