/*
Submit Once form validation- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
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
}
}
}



window.defaultStatus='MOBIempire';

		function PopUpe(gde) {
   				 msgWindow=window.open(gde,
                "popupe",
                "width=750,height=350,toolbar=no,directories=no,status=no,scrollbars=no,resize=no,menubar=no"
                );
				msgWindow.focus();				
		}	
		
		function PopUps(gde) {
   				 msgWindow=window.open(gde,
                "popupe",
                "width=640,height=480,toolbar=no,directories=no,status=no,scrollbars=yes,resize=yes,menubar=no"
                );
				msgWindow.focus();				
		}	
		
		function ButtonOver(statustxt) {
			window.event.srcElement.style.backgroundColor = '#cc3333';
			window.status = statustxt;
		}
		
		function ButtonOut() {
			window.event.srcElement.style.backgroundColor = '#aaaaaa';
		}
		
		function FormOver(statustxt) {
			window.event.srcElement.style.backgroundColor = '#dfdfdf';
			window.status = statustxt;
		// 	#6981DA #D3EDFF
		}
		
		function FormOut() {
			window.event.srcElement.style.backgroundColor = '#f9f9f9';
		}
		
		function LMenuOver(statustxt) {
			window.event.srcElement.style.backgroundColor = '#ffffff';
			window.status = statustxt;
		// 	#6981DA #D3EDFF
		}
		
		function LMenuOut() {
			window.event.srcElement.style.backgroundColor = '';
		}
		
		
		function TblOver(ko, statustxt, boja) {
			ko.style.backgroundColor = boja;
			window.status = statustxt;
		}
		
		function TblOut(ko, boja) {
			ko.style.backgroundColor = boja;
		}