var wX
var wY
var hRV
var cFile
function get_win_dim(){
	if (navigator.appName.indexOf("Microsoft Internet")!=-1){
		wX =(document.body.clientWidth)
		wY =(document.body.clientHeight)
	}else{
		wX = Math.round(top.innerWidth);
		wY = Math.round(top.innerHeight)-10;
	}
}
function init_resize(){
	init_gen(hRV)
}
function init_gen(hasReqestedVersion){
// Check to see if the version meets the requirements for playback
	cFile = Math.random() * 1000
	get_win_dim()
	//document.getElementById("Bg").style.height = wY + "px"
	//document.getElementById("Bg").style.width = wX + "px"
	hRV = hasReqestedVersion
	if (hRV) {
		// if we've detected an acceptable version
		// embed the Flash Content SWF when all tests are passed
		AC_FL_RunContent(
					"src", "ikPlayer?cFile=" + cFile,
					"width", wX - 300,
					"height", 300,
					"id", "ickx",
					"quality", "high",
//					"wmode", "transparent",
					"name", "Displaying your creativity",
					"allowScriptAccess","sameDomain",
					"type", "application/x-shockwave-flash",
					'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
					"pluginspage", "http://www.adobe.com/go/getflashplayer",
					'cfile', cFile,
					'movie', 'ikPlayer?cFile=' + cFile
		);
	} else {  // flash is too old or we can't detect the plugin
		var alternateContent = 'Geen juiste Flas Player gedecteerd.<BR>'
		+ 'Deze site maakt gebruik van Adobe Flash Player. '
		+ '<a href=http://www.adobe.com/go/getflash/>Haal Flash</a>';
		document.write(alternateContent);  // insert non-flash content
	}
}
function do_false(){
	return false;
}
