function popUp(rollOverId,pubWidth,pubHeight,clearLeft,clearTop,popUpHTML) {
/* Set Variables */

//Item being rolled over
var RollOverDiv = document.getElementById(rollOverId);
								
var coords = RollOverDiv.coords.split(",");
//RollOver's left position put into an integer
var x = parseInt(coords[0]);
//RollOver's top position put into an integer
var y = parseInt(coords[1]);
//pop Up Element
var PopUpDiv = document.getElementById('popUpContainer');
//Content Holder for pop up
var PopUpContentDiv = document.getElementById('PopUpMiddle');

/* Assign Values */
//Set pop Up width from input
document.getElementById('PopUpMiddle').style.width = pubWidth;
document.getElementById('ShadowMiddle').style.width = parseInt(pubWidth) + 40 + "px";
document.getElementById('PopUpTopMiddle').style.width = pubWidth;
document.getElementById('PopUpBottomMiddle').style.width = pubWidth;
document.getElementById('ShadowTopMiddle').style.width = pubWidth;
document.getElementById('ShadowBottomMiddle').style.width = pubWidth;
//Set pop Up height from input
document.getElementById('PopUpMiddle').style.height = pubHeight;
document.getElementById('ShadowMiddle').style.height = pubHeight;
document.getElementById('PopUpLeft').style.height = pubHeight;
document.getElementById('PopUpRight').style.height = pubHeight;

//Move Pop Up elements
document.getElementById('PopUpBR').style.top = parseInt(pubHeight) + 20 + "px";
document.getElementById('PopUpBR').style.left = parseInt(pubWidth) + 20 + "px";
document.getElementById('PopUpBL').style.top = parseInt(pubHeight) + 20 + "px";
document.getElementById('PopUpBottomMiddle').style.top = parseInt(pubHeight) + 20 + "px";
document.getElementById('PopUpTR').style.left = parseInt(pubWidth) + 20 + "px";
document.getElementById('PopUpRight').style.left = parseInt(pubWidth) + 20 + "px";
//Move shadow elements
document.getElementById('ShadowBR').style.top = parseInt(pubHeight) + 20 + "px";
document.getElementById('ShadowBR').style.left = parseInt(pubWidth) + 20 + "px";
document.getElementById('ShadowBL').style.top = parseInt(pubHeight) + 20 + "px";
document.getElementById('ShadowBottomMiddle').style.top = parseInt(pubHeight) + 20 + "px";
document.getElementById('ShadowTR').style.left = parseInt(pubWidth) + 20 + "px";

//Assign text to content holder
PopUpContentDiv.innerHTML = popUpHTML;
//Set pop up left position
PopUpDiv.style.left = x  + clearLeft + "px";
//Set pop up top position
PopUpDiv.style.top = y - clearTop + "px";
//Change pop up text color
PopUpDiv.style.color = "#000000";
//Make pop up visible
PopUpDiv.style.visibility = "visible";

}

function popDown() {
//Hide pop up	
document.getElementById('popUpContainer').style.visibility = "hidden";
}