function openWinNoMenu2(win_url,win_name,win_width,win_height,win_scroll) { win_attrib='toolbar=no,location=no,directories=no,menubar=no,resizable,scrollbars=' + win_scroll + ',width=' + win_width + ',height=' + win_height + ','; win_left=(screen.width-win_width)/2; win_top=((screen.height-win_height)-140)/2; if (navigator.appName.indexOf("Microsoft")>=0) { win_attrib+='left=' + win_left + ',top=' + win_top; } else { win_attrib+='screenX=' + win_left + ',screenY=' + win_top; } win_popup = window.open(win_url,win_name,win_attrib); } function jumpPage(newLoc) { newPage = newLoc.options[newLoc.selectedIndex].value if (newPage != "") { window.location.href = newPage } } function launch(service) { window.open('http://www.smgradio.com/core/player/index.html?service=' + service,'VirginRadioPlayer','height=263,width=468'); } var initialsubj="I thought you may be interested in this Business." var initialmsg="Hi:\n\n I thought you may be interested in this business: "+window.location var good; function checkEmailAddress(field) { var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi); if (goodEmail) { good = true; } else { alert('Please enter a valid address.'); field.focus(); field.select(); good = false; } } u = window.location; function mailThisUrl() { good = false checkEmailAddress(document.eMailer.email); if (good) { //window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u; window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg } }