//rollover - id
function doOver(id) {
	document.getElementById(id).src = GLOBAL_PATH_GFX + id + "_on.gif";
}

function doRestore(id) {
	document.getElementById(id).src = GLOBAL_PATH_GFX + id + ".gif";
}

//rollover - id + source
function doOverGfx(id,source) {
	document.getElementById(id).src = GLOBAL_PATH_GFX + source + "_on.gif";
}

function doRestoreGfx(id,source) {
	document.getElementById(id).src = GLOBAL_PATH_GFX + source + ".gif";
}

//default cms-functions

function url_iframe(strURL)	{ 
	var strDestination;
	strDestination = '/ids/default.asp?URL=' + strURL + '&TopicID=<%= request.querystring("TopicID") %>';
	window.location.href = strDestination;
}

function openWindow(theURL,winName,Width,Height,winProperties) 
{
	var winWidth = Width;
	var winHeight = Height;
	var winW = (screen.width/2) - (winWidth/2);
	var winH = (screen.height/2) - (winHeight/2);
	var winProps = 'width=' + winWidth + ',height=' + winHeight + ',left=' + winW + ',top=' + winH + ',' + winProperties;
	
	newWin = window.open(theURL,winName,winProps);
	newWin.focus();
}	

function url_newwin(strURL) 
{ 
	newWin = window.open(strURL);
	newWin.focus();
}

function changeHeight(id) 
{
	if( navigator.appName != "Microsoft Internet Explorer")
		{
		id.style.height = window.innerHeight - 100;
		}
	else
		{
		id.style.height = id.offsetHeight;
		}
}