function onLoadFunction(){}

function getParameterFromQueryString ( queryString, parameterName ) 
{
	// Add "=" to the parameter name (i.e. parameterName=value)
	var parameterName = parameterName + "=";
	if ( queryString.length > 0 ) 
	{
		// Find the beginning of the string
		begin = queryString.indexOf ( parameterName );
		// If the parameter name is not found, skip it, otherwise return the value
		if ( begin != -1 ) 
		{
			// Add the length (integer) to the beginning
			begin += parameterName.length;
			// Multiple parameters are separated by the "&" sign
			end = queryString.indexOf ( "&" , begin );
			if ( end == -1 ) 
			{
				end = queryString.length
			}
			// Return the string
			return unescape ( queryString.substring ( begin, end ) );
		}
		// Return "null" if no parameter has been found
		return "null";
	}
}

var page=null;
function videoPopup(videoName) {
var URL ="/web/video.page?video="+videoName+".flv";
    id = "video";
if ( page == null || page.closed ) {
    eval("page=window.open(URL,'" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,fullscreen=0,width=350,height=280,left="+(screen.width-350)/2+",top="+(screen.height-280)/2+"');");
} else {
page.focus();
}
}