// Dynamic Iframe loader
function loadIframe(theURL) {
	document.getElementById("content_frame").src=theURL;
}

// resizes Iframe according to content
function resizeMe(obj){ 
	docHeight = content_frame.document.body.scrollHeight
	obj.style.height = docHeight + 'px'
}

//PPT PopUp
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=747,height=600');");
}

//Bio PopUp
function popUpBio(URL) {
eval("bioPage = window.open(URL, 'full_bio','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=592,height=300');");
//bioPage.window.resizeTo(592,height);
bioPage.focus();
}

//Gallery PopUp
function popUpGallery(URL) {
eval("popUpGallery = window.open(URL, 'full_bio','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=600');");
//bioPage.window.resizeTo(592,height);
popUpGallery.focus();
}
