<!--

function external($i) {
  var link = document.getElementById($i);
  link.setAttribute("target","_blank");
}

function windowHeight(){
	if (window.innerHeight && window.scrollMaxY) {// Firefox
		yWithScroll = window.innerHeight + window.scrollMaxY;
		xWithScroll = window.innerWidth + window.scrollMaxX;
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
		yWithScroll = document.body.scrollHeight;
		xWithScroll = document.body.scrollWidth;
	} else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
		yWithScroll = document.body.offsetHeight;
		xWithScroll = document.body.offsetWidth;
  	}
	document.getElementById('confirm_delete').style.height = yWithScroll+'px';
	//Detect IE
	version=0
	if (navigator.appVersion.indexOf("MSIE")!=-1) {
		temp=navigator.appVersion.split("MSIE");
		version=parseFloat(temp[1]);
	}
	if (document.getElementById('confirm_delete').style.height == '0px') {
		document.getElementById('confirm_delete').style.height = '100%';
	}
}

function popUp(e) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(e, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=500,left = 380,top = 285');");
}

function hideConfirm() {
	document.getElementById('confirm_delete').style.display = 'none';
}

// -->