// JavaScript Document

	equalize = function() {
	var hbase = document.getElementById('prodBase').clientHeight;
	var h1 = document.getElementById('prodLeft').clientHeight;
	var h2 = document.getElementById('prodRight').clientHeight;
	
		if (h1 > h2) {
		//alert (h1 + 'is greater than' + h2)
			var dH = h1 - h2;
			var fH = dH - 5;
			var divTag = document.createElement("div");
			divTag.id = "xpand";
			document.getElementById('prodRight').appendChild(divTag);
			
			document.getElementById('xpand').style.height = fH + "px";
		 
		} else {
	
		document.getElementById('prodLeft').style.height = h2 + "px";
		}
	}
	
	
	function addLoadEvent(func) { 
	  var oldonload = window.onload; 
	  if (typeof window.onload != 'function') { 
	    window.onload = func; 
	  } else { 
	    window.onload = function() { 
	      if (oldonload) { 
	        oldonload(); 
	      } 
	      func(); 
	    } 
	  } 
	} 
	 
	addLoadEvent(equalize); 
	
	
//OLD pop up functions from previous 2 release back	
	
	function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=408,left = 287,top = 180');");
	}

	function popUp3(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=600,left = 287,top = 180');");
	}

	function popUp2(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=600,left = 287,top = 180');");
	}

	function popUp4(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=810,height=500,left = 287,top = 180');");
	}

	
	function popUp5(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=820,height=700,left = 287,top = 180');");
	}	