// Activate EMBED geluidsfragment
function activeEmbed(uploadurl, mp3file)
{
    var file = uploadurl + mp3file;
    document.write('<embed src="' + file + '" height="45" width="200" type="application/x-mplayer2" autostart="0" loop="0" volume="-300"></embed>');
}

// BOOKMARK
function addBookmark(title,url)
{

	if (window.sidebar)
	{
		window.sidebar.addPanel(title, url,"");
	}
	else if( document.all )
	{
		window.external.AddFavorite( url, title);

	}
	else if( window.opera && window.print )
	{
		return true;
	}
}

// POPUP
function popup(URL) {
	id =  '123';
	eval("page_" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=2,resizable=1,location=0,statusbar=0,menubar=0,width=1024,height=768,left=50,top=50');");
}

// POPUP FOR IMAGES
function popup_images(URL) {
	id =  '456';
	eval("image_" + id + " = window.open(URL, '" + id + "', 'toolbar=yes,scrollbars=2,resizable=1,location=0,statusbar=0,menubar=0,width=1024,height=768,left=50,top=50');");
//	eval("page_" + id + " = window.open(URL, '" + id + "', 'scrollbars=yes,toolbar=yes');");
/*  *  dependent - Subwindow closes if parent(the window that opened it) window closes
	 * fullscreen - Display browser in full screen mode
    * height - The height of the new window, in pixels
    * width - The width of the new window, in pixels
    * left - Pixel offset from the left side of the screen
    * top - Pixel offset from the top of the screen
    * resizable - Allow the user to resize the window or prevent resizing
    * status - Display the status bar or not
*/
}
