/*  Pop Up Flash Piece  */

//Define the function
function popit() {
	var flashDiv = getobj("flash");
	var popupLink = getobj("popup");
	if(flashDiv != null) {
		popupLink.onmouseover = function() {
			flashDiv.style.display = "block";
			}
		flashDiv.onmouseover = function() {
			flashDiv.style.display = "block";
			}
		flashDiv.onmouseout = function() {
				flashDiv.style.display = "none";
			}
	}
}

function popupLink() {
	flashDiv.style.display = "block";
	}

function popdownLink() {
	flashDiv.style.display = "none";
	}
	

function loginMenu() {
	var dropdown = document.getElementById("login_menu");
	var selected = dropdown.options[dropdown.selectedIndex].value;
	dropdown.selectedIndex = 0;
	window.open(selected);	
}


//Definition of the "getobj" function
var ns6=document.getElementById && !document.all;
function getobj( x ) {
	return (document.all) ? document.all[x] : document.getElementById? document.getElementById(x) : "";
}

//start the function after the page has loaded
window.onload = function() {
	popit();
}