///// test test test

function winopen(url) {
	// Here resize the PopUp
	
	var popUpSizeX=screen.width;;
	var popUpSizeY=screen.height;
	var scroll = "no";
	
	//var popUpSizeX=1240;
	//var popUpSizeY=1024;
	
	// Here move it to any poiny on screen	
	var popUpLocationX=0;
	var popUpLocationY=0;
	
	if(url == null)
	{
		url="http://www.frontlinemag.net";
	}
	if(popUpSizeX<1240){
		scroll="yes";
	} 
	
	// URL of the popUp
	var popUpURL= url;
	
	splashWin = window.open(url,'Frontlinemagazin','fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable=1');
	
	splashWin.blur();
	window.focus();
	
	splashWin.resizeTo(popUpSizeX,popUpSizeY);
	splashWin.moveTo(popUpLocationX,popUpLocationY);
	splashWin.location=popUpURL;
	splashWin.focus();
}

var submitted = false;
function submitOnce(form) {
	if(submitted) { return false; }
	return (submitted = true);
}