//----------- Javascript Error Hider -----------// function HideErrors() { return true; }  //----------- Default/Variable/Browser Detect Stuff -----------// window.onerror = HideErrors; window.defaultStatus = '';//----------- Browser Detection -----------if (parseInt(navigator.appVersion) >= 4) {  var browserVar = navigator.platform;  var isWin = browserVar.indexOf("Win") != -1;  var isMac = browserVar.indexOf("Mac") != -1;  if (document.layers) {    var n4 = true;  } else if (document.getElementById && !(document.all)) {    var ns = true;  } else if (document.getElementById && document.all) {    var ie = true;  } else if(document.all) {    var i4 = true;  }  var macieFive = (navigator.userAgent.indexOf('MSIE 5')>0 && this.p!="Win32")}//----------- Image Load Function -----------function PreloadImage(path, name, type) {  var img;  img = new Image();  img.src= path + name + type;  return img;}//----------- Image Loading -----------if(document.images) {  img_writeus_on = new PreloadImage('gfx/','writeus_on','.gif');  img_writeus_off = new PreloadImage('gfx/','writeus','.gif');  img_specimen_on = new PreloadImage('gfx/','nav_specimen_on','.gif');  img_specimen_off = new PreloadImage('gfx/','nav_specimen_off','.gif');  img_condensed_on = new PreloadImage('gfx/','nav_condensed_on','.gif');  img_condensed_off = new PreloadImage('gfx/','nav_condensed_off','.gif');  img_pushme_on = new PreloadImage('gfx/','nav_pushme_on','.gif');  img_pushme_off = new PreloadImage('gfx/','nav_pushme_off','.gif');  img_moj_on = new PreloadImage('gfx/','nav_moj_on','.gif');  img_moj_off = new PreloadImage('gfx/','nav_moj_off','.gif');  img_specimen_big_on = new PreloadImage('gfx/','ro_specimen','.gif');  img_condensed_big_on = new PreloadImage('gfx/','ro_condensed','.gif');  img_moj_big_on = new PreloadImage('gfx/','ro_moj','.gif');  img_pushme_big_on = new PreloadImage('gfx/','ro_pushme','.gif');  img_black_big_off = new PreloadImage('gfx/','gridthing','.gif');  img_adva_off = new PreloadImage('gfx/','text_advance_off','.gif');  img_adva_on = new PreloadImage('gfx/','text_advance_on','.gif');  img_retr_off = new PreloadImage('gfx/','text_retreat_off','.gif');  img_retr_on = new PreloadImage('gfx/','text_retreat_on','.gif');}//----------- Image Rollover Functions -----------function getSrc(imgName) {	return eval(imgName + '.src');}function rollOver(imgName, imgSrc, imgWhere){  if(document.images) {    if(imgWhere && n4) {      document.layers[imgWhere].document.images[imgName].src = getSrc(imgSrc);    } else {      document.images[imgName].src = getSrc(imgSrc);          }  }}//----------- Section Switch Thingies -----------function popSection(sectionName) {  var title;  var strFeatures;  if (sectionName == "SPECIMENS") {    title = 'SPECIMENS';    urlGo = 'specimen/index.html';    if (isMac) {      if(ie || ns || i4) {        strFeatures = "screenY='0',top='0',screenX='0',left='0',width=650,height=350,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";      } else {        strFeatures = "screenY='0',top='0',screenX='0',left='0',width=650,height=350,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";      }    } else {        strFeatures = "screenY='0',top='0',screenX='0',left='0',width=650,height=350,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";    }  } else  if (sectionName == "CONDENSED") {    title = 'CONDENSED';    urlGo = 'weinvent/index.html';    if (isMac) {    	if(macieFive) {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=620,height=590,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";      } else {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=620,height=525,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";      }    } else {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=640,height=545,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";    }  } else  if (sectionName == "MACHINESOFJOY") {    title = 'MACHINESOFJOY';    urlGo = 'xpeermints/machines.html';    if (isMac) {      if(macieFive) {       strFeatures = "screenY='0',top='0',screenX='0',left='0',width=735,height=600,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";      } else {      strFeatures = "screenY='0',top='0',screenX='0',left='0',width=735,height=550,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";      }    } else {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=738,height=573,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";    }  } else  if (sectionName == "AWARDS") {    title = 'AWARDS';    //urlGo = 'horsey/index.html';    urlGo = 'awards/index.php';    if (isMac) {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=560,height=450,toolbar=yes,menubar=yes,location=no,directories=no,scrollbars=yes";      //strFeatures = "screenY='0',top='0',screenX='0',left='50',width=409,height=411,toolbar=no,menubar=no,location=no,directories=no";    } else {    strFeatures = "screenY='0',top='0',screenX='0',left='50',width=560,height=450,toolbar=yes,menubar=yes,location=no,directories=no,scrollbars=yes";      //strFeatures = "screenY='0',top='0',screenX='0',left='50',width=426,height=426,toolbar=no,menubar=no,location=no,directories=no";    }  } else  if (sectionName == "CONTACT") {    title = 'CONTACT';    urlGo = 'contact/contact.html';    if (isMac) {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=400,height=500,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";    } else {      strFeatures = "screenY='0',top='0',screenX='0',left='50',width=400,height=500,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no";    }  }  objWindow = window.open(urlGo, title, strFeatures);  return;}//----------- Text Thingys  -----------var preText = '<table border="0" width="220" cellspacing="0" cellpadding="0"><tr valign="top"><td><div id="texthere">'var postText = '</div></td></tr></table>'var showCopy = 1;