var newWin = null
function openFullScreenPopup(URL) {
	newWin = window.open(URL, '_blank', 'fullscreen=yes,scrollbars=yes,menubar=yes,status=yes,toolbar=yes,resizable=yes,location=yes');
	//newwindow=window.open(URL,'KNS Popup','fullscreen=yes,scrollbars=yes,menubar=yes,status=yes,toolbar=yes,resizable=yes');
	if (window.focus) {newWin.focus()}
	return false;
}

function openShadowbox(content,width,height) {
	var str_options = new Object()
	var defwidth = 640
	var defheight = 480
	str_options.player = "iframe"
	if (width) defwidth = width
	if (height) defheight = height
	str_options.width = defwidth
	str_options.height = defheight
	str_options.content = content
	Shadowbox.open(str_options)
}
