//<script language="Javascript">
//<!--

// Simpele mouseover:
function rollover(img_name,img_src) {
if(document.images) document[img_name].src=img_src;
}
// Einde simpele mouseover

// Mutiple image mouse over

function imgswap(primary, imgname1, secondary, imgname2)
{
eval("document." + primary + ".src = '" + imgname1 + "'");
eval("document." + secondary + ".src = '" + imgname2 + "'");
}

// Simpele popup window:
function openPopup(theURL,winName,features) {
if (winName=='plavekawindow') {
worldmapwindow = window.open(theURL,winName,features); worldmapwindow.focus();
} else if (winName=='forumwindow') {
forumwindow = window.open(theURL,winName,features); forumwindow.focus();
} else {
window.open(theURL,winName,features);
}
}
// Einde popup script


// Preload images
function WM_preloadImages() {

/*
Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
*/

// Don't bother if there's no document.images
if (document.images) {
if (typeof(document.WM) == 'undefined'){
document.WM = new Object();
}
document.WM.loadedImages = new Array();
// Loop through all the arguments.
var argLength = WM_preloadImages.arguments.length;
for(arg=0;arg<argLength;arg++) {
// For each arg, create a new image.
document.WM.loadedImages[arg] = new Image();
// Then set the source of that image to the current argument.
document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
}
}
}
// Einde Preload images

//-->
//</script>

