/***************************************************************************************************/
function meontop() {
//alert("OnTop");
//Take window to top i.e. out of frames
if (top != self) {
	top.location = location
}
}
/***************************************************************************************************/
function RJRWindow(myname, mywidth, myheight, myscrollbars, myresizeable) {
//open a new pop up window

if (myname.closed == false) {
myname.close();
}

myctrl1 = "toolbar=no,location=no,directories=no,status=no,menubar=no,";
myctrl2 = "scrollbars=" + myscrollbars + ",";
myctrl3 = "resizable=" + myresizeable + ",copyhistory=yes,";
myctrl4 = "width=" + mywidth + ",";
myctrl5 = "height=" + myheight + ",";
myctrl6= "replace"
myctrl0 = myctrl1 + myctrl2 + myctrl3+ myctrl4 + myctrl5 + myctrl6;
//alert(myctrl0);
myPopUp=window.open("",myname,myctrl0);
if (window.focus) {
myPopUp.focus();
}
myPopUp.resizeTo(mywidth,myheight);
//myPopUp.scrollbars.visible = (myscrollbars == "yes");
//myPopUp.resizeable = (myresizeable == "yes");
myPopUp.update;

//}
//myPopUp.location.href = myURL;

}
/***************************************************************************************************/
