

/* 
Opens links in new windows to replace depreciated target attribute.
Anchor elements must have rel attribute as "external" to open in new window.
*/

function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && 
       anchor.getAttribute("rel") == "external") 
     anchor.target = "_blank"; 
 } 
} 



function openBox(ipath, pname) {
flyout=window.open('/products/productzoom.php?imgpath=' + ipath + '&productname=' + pname,'dispWindow','resizable=no,scrollbars=no,menubar=no,status=no,directories=no,width=410,height=480');
}

function openBox2(url2) {
newwindow=window.open(url2,'dispWindow','resizable=no,scrollbars=yes,menubar=no,status=no,directories=no,width=582,height=480');
}

conBrowser=0;
  function display(www) { 
  
  	window.status = www; 
 }


window.onload = function() {
  	
	externalLinks();
	
}

