<!--
function Over(image) { if(image && document.images && image.src.indexOf("_on.gif")==-1) {image.src = image.src.substring(0,(image.src.indexOf(".gif"))) + "_on.gif";}}
function Out(image) { if(image && document.images && image.src.indexOf("_on.gif")!=-1) {image.src = image.src.substring(0,(image.src.indexOf("_on.gif"))) + ".gif";}}


function popup(URL,width,height){
   	var newURL = check_url(URL);           
	popup_window = window.open(newURL,'video','width='+width+',height='+height+',scrollbars=no,resizable=yes,toolbar=no,menubar=no,top=30,left=15');
	if (window.focus) {popup_window.focus();}
	return false;
}
function check_url(URL){
	if (URL.indexOf('?') != -1) {var newURL = URL+'&popup=yes';}
	else {var newURL = URL+'?popup=yes';}
	return newURL;
}

	
function popup_large(URL) {
	var newURL = URL; newURL = check_url(URL);
	new_window = window.open(newURL,'popup','scrollbar=no,menubar=no,resizeable=no,status=no,width=1028,height=768,top=25,left=25')
	if (window.focus) {new_window.focus()}
	return false;
}



function Selector(x){
	if (x != "") { self.location=x; } 
}

function popWin(the_page,the_target,the_width,the_height,sb) {
		window.open(the_page,the_target,"status=no,menubar=no,scrollbars=" + sb + ",resizable=yes,width=" + the_width + ",height=" + the_height);
		self.name='monarch'; 
} 

 function preview(Url){
 window.open(Url,'preview','width=535,height=470')
 					}
 
function flash(URL)
                {
			popup_window = window.open(URL,'flash','width=400,height=400,scrollbars=no');
                         if (window.focus) {
                                            popup_window.focus();
                                           }
				}
				

function popwin_360(URL){
             popup_window = window.open(URL,'panorama','width=200,height=200,resizable=no,scrollbars=no');
                         if (window.focus) {
                                            popup_window.focus();
                                           }
                        }

function quizwin(URL){
	var newURL = URL;
	popup_window = window.open(newURL+'?popup','popup','status=no,scrollbars=no,resizable=yes,width=400,height=300,top=30,left=15');
	if (window.focus) {popup_window.focus();}
	return false;
}

function popmediaselector(URL){
	popup_window = window.open(URL,'avaccesswin','status=no,scrollbars=yes,resizable=yes,width=409,height=269,top=30,left=15');
	if (window.focus) {popup_window.focus();}
}

//-->
