
//popup openers
function popUp(url) {
	popWin = window.open(url, 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=685, height=580')
}
	
function popUp2(url) {
	popWin = window.open(url, 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=620, height=500')
}

function popUp_ezine(url) {
	popWin = window.open(url, 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=700, height=550')
}

function popUp_ezineDE(url) {
	popWin = window.open(url, 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=700, height=320')
}

function popUp_route_hotels(sLang) 
{
	if(sLang=="")
	{
		sLang = "dutch"
	}
	popWin = window.open('http://tools.locatienet.com/location/map.asp?config_id=6694&language=' + sLang + '&address=469869_5268200_duinweg_5__bergen__NL_8&zoom=4&markertext=blooming%20-%20hotel&background=http%3A//www.blooming-hotels.com/images/template/bg.jpg&logo=http%3A//www.blooming-hotels.com/images/template/_blooming.gif', 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=600, height=500')
}

function popUp_route_conferentie(sLang) 
{
	if(sLang=="")
	{
		sLang = "dutch"
	}
	popWin = window.open('http://tools.locatienet.com/location/map.asp?config_id=6694&language=' + sLang + '&address=469126_5266705_Eeuwigelaan_1__bergen__NL_8&zoom=4&markertext=blooming%20-%20conferentielandgoed&background=http%3A//www.blooming-hotels.com/images/template/bg.jpg&logo=http%3A//www.blooming-hotels.com/images/template/_blooming.gif', 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=600, height=500')
}

function popUp_route_training(sLang) 
{
	if(sLang=="")
	{
		sLang = "dutch"
	}
	popWin = window.open('http://tools.locatienet.com/location/map.asp?config_id=6694&language=' + sLang + '&address=469126_5266705_Eeuwigelaan_3__bergen__NL_8&zoom=4&markertext=blooming%20-%20training,%20ontwikkeling%20en%20advies&background=http%3A//www.blooming-hotels.com/images/template/bg.jpg&logo=http%3A//www.blooming-hotels.com/images/template/_blooming.gif', 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=600, height=500')
}

var sPrevImage = ""

function showImage(sImageName)
{
	sPrevImage = document.all.imgPageImage.src
	//alert(document.all.imgPageImage.src)
	document.all.imgPageImage.src = "/user_images/" + sImageName
}

function resetImage()
{
	document.all.imgPageImage.src = sPrevImage
}

function PopupPic(sPicURL) 
{ 
	window.open( "afbeelding.html?"+sPicURL, "afbeelding", "resizable=1,HEIGHT=200,WIDTH=200"); 
} 

function PopupCV(kunstenaar) {
	popWin = window.open('/cv.aspx?kunstenaar=' + kunstenaar, 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=840, height=540')
}

function OpenReferentie(kunstenaar) {
	popWin = window.open('/referentie.aspx?referentie=' + kunstenaar, 'popUp', 'location=no, menubar=no, directories=no, scrollbars=no, resizable=no, status=no, width=840, height=540')
}

function OpenSnelNaar()
{
	document.getElementById('divSnelNaar').style.display = "inline"
	if(document.getElementById('tblPortal') == "[object]")
	{
		document.getElementById('tblPortal').style.display = "none"
	}
	if(document.getElementById('tblMain') == "[object]")
	{
		document.getElementById('tblMain').style.display = "none"
	}
	if(document.getElementById('tblMovie') == "[object]")
	{
		document.getElementById('tblMovie').style.display = "none"
	}
	if(document.getElementById('tblBoulevard') == "[object]")
	{
		document.getElementById('tblBoulevard').style.display = "none"
	}
	if(document.getElementById('divReserveren') == "[object]")
	{
		document.getElementById('divReserveren').style.display = "none"
	}
}
