function showEK2004(source){
	width = 650
	height = 586
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	EK2004=window.open(source,'EK2004','toolbar=no,scrolling=no,resizable=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	EK2004.focus()

}

function showLogin(source){
	width = 465
	height = 365
	//height = 334
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	picture=window.open(source,'login','toolbar=no,scrolling=auto,resizable=yes,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	picture.focus()
	return picture;
}


function showMMS(source){
	width = 623
	height = 0.8 * screen.availHeight
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	MMSmsg=window.open(source,'login','toolbar=no,scrolling=auto,resizable=yes,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	MMSmsg.focus()

}

function showCreatePicture(source){
	width = 745
	height = 461
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	createPictureScreen=window.open(source,'createPicture','toolbar=no,scrolling=no,resizable=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	createPictureScreen.focus()

}

function showAdviesOpMaat(source){
	width = 640
	height = 460
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	adviesOpMaatScreen=window.open(source,'adviesOpMaat','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	adviesOpMaatScreen.focus()
	return adviesOpMaatScreen
}

function showNummerbehoud(source){
	width = 640
	height = 407
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	nummerbehoudScreen=window.open(source,'nummerBehoud','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	nummerbehoudScreen.focus()
	return nummerbehoudScreen
}

function showRequestFormPopup(source){
	width = 700
	height = 507
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	nummerbehoudScreen=window.open(source,'requestform','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	nummerbehoudScreen.focus()
	return nummerbehoudScreen
}

function showRekentool(source){
	width = 640
	height = 460
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	rekentoolScreen=window.open(source,'rekenTool','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	rekentoolScreen.focus()
	return rekentoolScreen
}


function showEvenementenArchief(source){
	width = 433
	height = 476
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	EvenementenArchiefScreen=window.open(source,'EvenementenArchief','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	EvenementenArchiefScreen.focus()


}
function showWAPEmulator(source, bookmarkid){
	width = 407
	height = 600
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	WAPEmulatorScreen=window.open('/my_t-mobile/htdocs/emulator.asp?url=' + escape(source) + '&bookmark_id=' + bookmarkid,'WAPEmulator','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	WAPEmulatorScreen.focus()


}
function showRegister(source){
	width = 433
	height = 329
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	registerScreen=window.open(source,'register','toolbar=no,scrolling=no,resizable=no,location=no,directories=no,status=yes,scrollbars=no,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	registerScreen.focus()


}

function showNewWindow(source, varWidth, varHeight){
	if(varWidth) width = varWidth
	else width = 640

	if(varWidth) height = varHeight
	else height = 480

	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	newWindowScreen=window.open(source,'newWindow','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	newWindowScreen.focus()
}

function showSiteMap(source, varWidth, varHeight){
	if(varWidth) width = varWidth
	else width = 640

	if(varWidth) height = varHeight
	else height = 480

	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	newWindowScreen=window.open(source,'newWindow','toolbar=no,scrolling=auto,resizable=yes,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	newWindowScreen.focus()
}

function showSiteDealer(source, varWidth, varHeight){
	if(varWidth) width = varWidth
	else width = 640

	if(varWidth) height = varHeight
	else height = 480

	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	newWindowScreen=window.open(source,'newWindow','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	newWindowScreen.focus()
}

function showNewWindowChatDate(source, varWidth, varHeight){
	if(varWidth) width = varWidth
	else width = 640

	if(varWidth) height = varHeight
	else height = 480

	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	newWindowScreen=window.open(source,'newWindow','toolbar=no,scrolling=auto,resizable=yes,location=no,directories=no,status=yes,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	newWindowScreen.focus()
}


function showMMS_Window(source, varWidth, varHeight){
	if(varWidth) width = varWidth
	else width = 562

	if(varWidth) height = varHeight
	else height = 600

	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	MMS_WindowScreen=window.open(source,'MMS_Window','toolbar=no,resizable=no,location=no,directories=no,status=no,scrollbars=yes,hotkeys=no,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	MMS_WindowScreen.focus()
}


function printIt()
{
	if (window.print)
	{
    window.print() ;
	}
	else
	{
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";
	}
}

function showjobDescription(source)
{
	width = 640
	height = 480
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	picture=window.open(source,'Job_description','toolbar=no,scrolling=yes,resizable=no,location=no,directories=no,status=yes,scrollbars=auto,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	picture.focus()
}

function showBeheerDemo(source) {
	width = 740
	height = 480
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	beheerDemo=window.open(source,'beheerDemo','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	beheerDemo.focus()
}

function resizeWin(width, height) {
	window.resizeTo(width,height)
}

function showTMFAwards() {
	width = 640
	height = 550
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	TMFAwards=window.open('/promo/tmf/enter.html','TMFAwards','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	TMFAwards.focus()
	top.window.name = 't-mobile'
}

function showCharliesAngels() {
	width = 640
	height = 490
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	newWindowScreen=window.open('/promo/charlies_angels/enter.html','newWindow','toolbar=no,scrolling=yes,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	newWindowScreen.focus()
}

function showDemo() {
	width = 800
	height = 600
	xl = (screen.availWidth/2)-(width/2)
	tt = (screen.availHeight/2)-(height/2)
	newWindowScreen=window.open('/global/media/flash/demo/index.html','newWindow','toolbar=no,scrolling=yes,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	newWindowScreen.focus()
}

function showRollingStones() {
	var screenWidth = screen.availWidth
	var screenHeight = screen.availHeight
	if(screen.availWidth < 840) {
		width =  790
		height = 453
		xl = (screenWidth/2)-(width/2)
		tt = (screenHeight/2)-(height/2)

	}
	else {
		width = screenWidth - 10
		height = screenHeight
		xl = 0
		tt = 0
	}

	rollingStones=window.open('/promo/rolling_stones/index.html','rollingStonesSite','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	rollingStones.focus()
}

function showPillowFight() {
	var screenWidth = screen.availWidth
	var screenHeight = screen.availHeight
	if(screen.availWidth < 840) {
		width =  790
		height = 453
		xl = (screenWidth/2)-(width/2)
		tt = (screenHeight/2)-(height/2)
	}
	else {
		width = screenWidth - 10
		height = screenHeight
		xl = 0
		tt = 0
	}
	pillowFight=window.open('/promo/kussengevecht/pillowfight.html','pillowFightSite','toolbar=no,scrolling=auto,resizable=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width='+width+',height='+height+',left='+xl+',top='+tt);
	pillowFight.focus()
}


function openSameWindow(source){
		newWindower=window.open(source,'popup');
		newWindower.focus()
	}


