
function popUp(file,width,height) {
	
	height = parseInt(height);
	width = parseInt(width);
	popup = window.open('/rtc-popUp/'+file,'popup','width='+width+',height='+height);
}

function setStatus(str) {
	window.status = str;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	var newWin = window.open(theURL,winName,features);
}

function VEN_openWindow(theURL,winName,features) { 
	PopUp = window.open(theURL,winName,features);
	PopUp.focus();
}
			
function VEN_closeWindow() {
	PopUp.close();
}
			
function openIconWindow(id, callme) {
	if (id) {
	window.open("/rtc-icon?id=" + id, 
	            "IconWin", 
	            "width=420,height=340,status=no,menubar=no,toolbar=no,resizable=yes");
	}
	if (callme) {
	window.open("/rtc-icon?callme=" + callme, 
	            "IconWin", 
	            "width=420,height=340,status=no,menubar=no,toolbar=no,resizable=yes");
	}
}