var remote = null;
window.name = "content";


function openRemote(contentURL,windowName,x,y) {
	widthHeight = 'height=' + y + ',width=' + x;
	remote = window.open(contentURL,windowName,widthHeight);
	remote.focus()
}


function closeRemote() {
	if (remote != null)  {	
	 remote.close();
	 remote = null;
	}
}

