function openNewWindow(filename, high, wide){  winref = window.open(filename, "newwin1", "fullscreen=no,toolbar=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width="+wide+",height="+high+",left=50,top=50");  winref.focus();}function getWindowName(){  return window.name;}function reportError(msg, url, line){	var extramsg="";	if (msg.indexOf("support.netneon") == -1)	return true;	alert ("error: " + msg + ", " + url + ", " + line + "\n\n" + extramsg );     window.location.reload();	return true;	}function stopError(){	return true;}window.onerror=reportError;function close_newwin (){var hl = history.length;//alert ("hl = " + hl + "," + navigator.appName);nav = navigator.appName;if ((nav =="Netscape" & hl > 1) | (nav !="Netscape" & hl > 0))   {history.back(-1);}else   { //alert ("closing window");      window.open('','_parent','');    window.close(); }}function showLoadMessage() {var loading_gif = new Image(20,20);loading_gif.src  = "http://www.netneon.com/88257494006C1FEE/loading.gif?openimageresource";if (loading_gif)  {   document.getElementById('displayTimer').innerHTML =  "<img src='http://www.netneon.com/88257494006C1FEE/loading.gif?openimageresource'>&nbsp;Uploading and compressing your Photo - DO NOT CLOSE THIS WINDOW";  }  else  {   document.getElementById('displayTimer').innerHTML =  "<img src='http://www.netneon.com/88257494006C1FEE/loading.gif?openimageresource'>&nbsp;Uploading and compressing your Photo - DO NOT CLOSE THIS WINDOW";  }//document.getElementById('displayTimer').style.visibility='visible';}/*You'll need a div or span with an id of "displayTimer" to display the countdown. The PAUSE button would call stopTimer, and both the onload and RESUME would launch startTimer().If the test can be saved in a partially completed state, then you'll need to save secondsRemaining in a type="hidden" editable field (default value 90 * 60) and compute its value in the JavaScript.*/var secondsRemaining = 90 * 60;var f = document.forms[0];var timer;function startTimer() {timer = setInterval('decrementSeconds()',1000);}function stopTimer() {clearInterval(timer);//iterate through fields to set readonly attribute to true}function decrementSeconds() {if (--secondsRemaining == 0) {stopTimer();}var secs = secondsRemaining%60;var mins = (secondsRemaining - secs)/60;document.getElementById('displayTimer').innerHTML = mins.toString() + ":" + secs.toString();}function changewide(newwidth, elemName){ 		 myImage = document.getElementById(elemName); 		 //create new image variable so IE can calculate the size. Otherwise, the image isn't finished and the size is 0		 newImage = new Image(); 		 newImage.src = myImage.src;		 var width = newImage.width;		 myImage.width=newwidth;}