function maintitel() {
	window.defaultStatus = "www.talentproject.nl";
}

// Script Source: CodeLifter.com - original files
// Copyright 2003
// Do not remove this notice.
// adjusted for moviepopups f.weijers Wednesday, October 15, 2003

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 50;
PositionY = 50;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 330;
defaultHeight = 350;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line..., i did Wednesday, October 15, 2003
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}

function popups(movieURL,width1,height1){
	if (movieURL == "") { return; }
	else if (movieURL.indexOf('movies/')!=-1) { movieURL = movieURL; }
	else { movieURL = "movies/" + movieURL; }
	width2 = width1;
	height2 = height1;
	var optNN='resizable=yes,scrollbars=no,width='+width2+',height='+height2+',left='+PositionX+',top='+PositionY;
	if (movieURL != ""){ imgWin=window.open('about:blank','',optNN); }
	bgcolor = "#FFFFFF";
	with (imgWin.document){
		writeln('<html><head><title>Talentproject</title><style>body{margin:0px;}</style>');
		writeln('<link rel="stylesheet" type="text/css" href="style/talentproject.css">');
		writeln('</head><body bgcolor="'+bgcolor+'" scroll="no" onload="self.focus()"><center>');
		writeln('<embed src="'+movieURL+'" width="'+width1+'" height="'+height1+'" LOOP=FALSE controller="true" autoplay="false">');
		writeln('</embed><center></body></html>');
		if (document.layers) {
			return;
		}	
	}
}

