


function spawn(url, nameW, w, h)
{
	x4 = screen.width/2 - (w/2);
	y4 = screen.height/2 - (h/2);
	newwindow = window.open(url, nameW,'height='+h+',width='+w+',scrollbars=1,resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0,left='+ x4 + ',top=' + y4 + '');
	if (window.focus) {newwindow.focus()}
}
function checkpageforflash() {
	var requiredVersion = 6;  
	var version = deconcept.SWFObjectUtil.getPlayerVersion();
	if (document.getElementById && (version['major'] < requiredVersion)) {
		var myTextField = document.getElementsByTagName('div');
		var x=0; 
		for (x=0; x<myTextField.length; x++) {
			if (myTextField[x].id == "FlashRep")
			{
				myTextField[x].innerText = "This site requires flash."
			}
		}
	}
}

function puFlash(URL,width,height){
	NewWindow=window.open(URL,"stratogPU","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height)
	NewWindow.focus;
}
function puImage(URL,width,height){
	NewWindow=window.open(URL,"stratogPU","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height)
	NewWindow.focus;
}
function puLearningHistory(URL,width,height){
	NewWindow=window.open(URL,"stratogPU","toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+width+",height="+height)
	NewWindow.focus;
}