function popUp(URL,id,topicSelection,subtopicSelection) {
topicMyDoc=topicSelection;
subtopicMyDoc=subtopicSelection;

if (id == "videoWindow") {
w = "744";
h = "496";
scrol = "0";
L = "360";
T = "10";
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrol+',location=0,status=1,menubar=0,resizable=0,width='+w+',height='+h+',screenX='+L+',screenY='+T+',left = '+L+',top = '+T+' ');pagevideoWindow.focus();");
	}
else if (id == "clientWindow") {
w = "340";
h = "450";
scrol = "1";
L = "10";
T = "10";
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrol+',location=0,status=1,menubar=0,resizable=0,width='+w+',height='+h+',screenX='+L+',screenY='+T+',left = '+L+',top = '+T+' ');pageclientWindow.focus();");
	}
else {
w = "744";
h = "496";
scrol = "0";
L = "360";
T = "10";
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars='+scrol+',location=0,status=1,menubar=0,resizable=0,width='+w+',height='+h+',screenX='+L+',screenY='+T+',left = '+L+',top = '+T+' ');pageBMCWindow.focus();");
}
}