var imgs = new Array(); var alts = new Array(); var caps = new Array(); function changeimg(x) { document.getElementById('galleryview').innerHTML = '
'+alts[x]+'
'+caps[x]+'

'; } function GotoURL(theMenu) { var locHref = theMenu.options[theMenu.selectedIndex].value.split(","); // if (locHref.substring(0, 4) == "http") if (locHref[1] != undefined && locHref[0] == 1) { NewWindow(locHref[1], "newWindow", 800, 600, "yes", "1"); } else { if (locHref[1] != undefined) { location.href = locHref[1]; } else { location.href = locHref[0]; } } } // change content size start var min = 8; var max = 80; var eld = new Array("paragraph", "textHilite"); var ele = new Array("p", "li", "h1", "h2", "h3", "h4"); var els = new Array( 12, 12, 20, 12, 12, 12); function changeFontSize(change) { // on tag for(j = 0; j < ele.length; j++) { var p = document.getElementsByTagName(ele[j]); for(i = 0; i < p.length; i++) { if(p[i].style.fontSize) { var s = parseInt(p[i].style.fontSize.replace("px","")); } else { var s = els[j]; } if((s > min && change < 0) || (s < max && change > 0)) { s += change; } p[i].style.fontSize = s + "px" } } // on id for(j = 0; j < eld.length; j++) { var divs = document.getElementsByTagName("div"); for(i = 0; i < divs.length; i++) { if(divs[i].id == eld[j]) { if(divs[i].style.fontSize) { var s = parseInt(divs[i].style.fontSize.replace("px","")); } else { var s = els[j]; } if((s > min && change < 0) || (s < max && change > 0)) { s += change; } divs[i].style.fontSize = s + "px" } } } } // change content size end var expandedDb = ' '; var isDOM = (typeof(document.getElementsByTagName) != 'undefined') ? 1 : 0; var isIE4 = ((typeof(document.all) != 'undefined') && (parseInt(navigator.appVersion) >= 4)) ? 1 : 0; var isNS4 = (typeof(document.layers) != 'undefined') ? 1 : 0; var capable = (isDOM || isIE4 || isNS4) ? 1 : 0; // Uggly fix for Konqueror and Opera that are not fully DOM compliant if (capable && typeof(navigator.userAgent) != 'undefined') { var browserName = ' ' + navigator.userAgent.toLowerCase(); if (browserName.indexOf('opera') > 0 || browserName.indexOf('konqueror') > 0) { capable = 0; } } var fontFamily = 'verdana, helvetica, arial, geneva, sans-serif'; var isServer = true; // f4 function fShow(id) { document.getElementById(id).style.visibility = "visible"; } function fHide(id) { document.getElementById(id).style.visibility = "hidden"; } // f3 function noenter() { return !(window.event && window.event.keyCode == 13); } // f2 function loc(val) { id = val.options[val.selectedIndex].value; tmp = id.substring(0,4); if (id != 0) { if(tmp == "new_") { id = id.replace(/new_/gi,''); NewWindow(id, "New_Page", 700, 500, "yes", "no"); // window.open(id); } else { location.href = id; } } } // f1 function blank(field, aContent) { a = window.document.getElementById(field).value; if (a == aContent) window.document.getElementById(field).value = ""; } function NewWindow(mypage, myname, w, h, scroll, menu) { var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'; if (menu == 1 || menu == 'yes') { winprops = winprops + ',menubar=yes,toolbar=yes,statusbar=yes,location=yes,personalbar=yes'; } win = window.open(mypage, myname, winprops); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } function quickLink() { var qLink = new Array; qLink[0][0] = ""; qLink[0][1] = ""; } // end function quickLink function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p); } if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0; !x&&i