function openScript(url, width, height)
{
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}

function open_window(url,windowname,size) 
{ 
	window.open(url,windowname,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=yes,top=10,left=10,"+ size); 
}

function turnit(ss)
	{

	 if (ss.style.display=="none") 
	  {ss.style.display="";
	   
	}

	 else
	  {ss.style.display="none"; 
	   
	  }
	
	} 

function turnimg(ii)
{
	var test;
	
	for(i=1;i<16;i++)
	{
		test = "img" + i + ".src='images/left.gif'";
		eval(test); 
	}
	ii.src="images/left.gif";
}

function submitonce(theform){
		//if IE 4+ or NS 6+
	if (document.all||document.getElementById){
		//screen thru every element in the form, and hunt down "submit" and "reset"
	for (i=0;i<theform.length;i++){
	var tempobj=theform.elements[i]
	if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
		//disable em
	tempobj.disabled=true
		}
	}
} 