var agt=navigator.userAgent.toLowerCase(); var is_major = parseInt(navigator.appVersion); var is_minor = parseFloat(navigator.appVersion); var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); var is_ie3 = (is_ie && (is_major < 4)); var is_ie4 = (is_ie && (is_major == 4) && (agt.indexOf("msie 4")!=-1) ); var is_ie4up = (is_ie && (is_major >= 4)); var is_ie5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) ); var is_ie5_5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1)); var is_ie5up = (is_ie && !is_ie3 && !is_ie4); var is_ie5_5up =(is_ie && !is_ie3 && !is_ie4 && !is_ie5); var is_ie6 = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.")!=-1) ); var is_ie6up = (is_ie && !is_ie3 && !is_ie4 && !is_ie5 && !is_ie5_5); var btnClass = ""; function gotoNavPage(url) { randomnumber = random(); top.window.location.href = url + "?resetStoresNav=Y"; return true; } function openPop(url, popwidth, popheight) { var features = "width=" + popwidth + ",height=" + popheight + ",location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no"; window.open(url,'pop',features); } function openDemo(url, popwidth, popheight) { var features = "width=" + popwidth + ",height=" + popheight + ",location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no"; window.open(url,'pop',features); } function Alert(error){ if ( is_ie5up){ ieAlert(error, 20, 12); } else { var option = "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=190"; new_win = window.open("/common/blank.html", "alertWin", option); errorWin(new_win, error, '190'); new_win.focus(); } } function ieAlert(str,w,h){ showModalDialog("/alert.html", str, "dialogWidth:"+w+";dialogHeight:"+h+";status:no"); } function errorWin(win, error, h){ var avaHeight = h - 10; new_win.document.write('Please Note\n'); new_win.document.write(btnClass); new_win.document.write('\n'); new_win.document.write('
\n'); new_win.document.write(''); new_win.document.write(''); new_win.document.write('
Alert

\n'); new_win.document.write(error); new_win.document.write('

\n'); new_win.document.write('
\n'); new_win.document.write('\n'); new_win.document.close(); } function clearThis(box) { box.value = ""; } function fillEmail() { if (document.ccoptin.ea.value == "") document.ccoptin.ea.value = "Enter email address"; } function fillInput() { if (document.gsearch.q.value == "") document.gsearch.q.value = "Search andale.com"; } function formHandler(oSelect) { var URL = oSelect.options[oSelect.selectedIndex].value; if (URL != '') window.location = URL; }