// Scripts for Becker Ortho

function gotoSite(site) {
	if (site != " ") {
		self.location = site;
	}
}

function popUp() {
	window.open('orthoticoverviewchart2.htm','','toolbar=no,location=no,directories=no,status=yes,scrollbars=yes,resizable=yes,copyhistory=no,width=648,height=640');
}

who = null;
whichbrowser = navigator.appName;
VeR = parseInt(navigator.appVersion);  
version=null;
function swapper(who) {	
        if (whichbrowser == "Microsoft Internet Explorer" && VeR <= 3) { version = 'toOld' }
        if (version != 'toOld' ) {document.images[7].src = '../' + who + '2.gif'; }
}
function noMore() { document.images[7].src = '../clear.gif'; }

function linkEmail(un) {

    var at = "@";

    var one = "mai";

    var two = "lto:";

    var mh = "beckerorthopedic.net";     // specify default mailhost here
 

    if (linkEmail.arguments.length == 2) {

      mh = linkEmail.arguments[1];

      } 

    document.write("<a href=\"" + one + two + un + at + mh + "\">" + un + at + mh + "</a>");  
}
