function open_window(newin) {
	flyout=window.open(newin,"flyout","resizable=no,scrollbars=no,width=400,height=300,top=0,left=0")
}
function open_player(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=0,width=335,height=303');");
}
function photo_display() {

	var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body
	var docLeft=document.all? iebody.scrollLeft : pageXOffset
	var docTop=document.all? iebody.scrollTop : pageYOffset

	document.getElementById('photo_background').style.width  = window.innerWidth + "px";
	document.getElementById('photo_background').style.height = window.innerHeight + "px";
	document.getElementById('photo_background').style.top    = docTop + "px";
	document.getElementById('photo_background').style.display='block';
}
function loading() {

	var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body
	var docLeft=document.all? iebody.scrollLeft : pageXOffset
	var docTop=document.all? iebody.scrollTop : pageYOffset

	document.getElementById('loading_background').style.width  = window.innerWidth + "px";
	document.getElementById('loading_background').style.height = window.innerHeight + "px";
	document.getElementById('loading_background').style.top    = docTop + "px";
	document.getElementById('loading_background').style.display='block';
}
function photo_hide_display() {
	document.getElementById('photo_background').style.display='none';
}