var ActiveMenu="";
	function PullMenu(M){
		HideMenu();
		clipIt(M, 0, 1024, 40, 0);
		ActiveMenu=M;
	}
	function HideMenu() {
		if (ActiveMenu!=="") {
			clipIt(ActiveMenu, 0, 0, 0, 0);
			ActiveMenu="";
		}
	}
function clipIt(o,t,r,b,l) {
	var object=getObject(o);
	if (isNS) {
		object.clip.top = t;
		object.clip.right= r;
		object.clip.bottom = b;
		object.clip.left = l;
	}
	if (isIE) {
		object.clip="rect("+t+" "+r+" "+b+" "+l+")";
	}
}
function getObject(id) {
	if (isNS) var obj= "document."+id;
	if (isIE) var obj= id+".style";
	var object = eval(obj);
	return (object);
}
var isNS=false;
var isIE=false;

if (document.layers) isNS=true;
if (document.all) isIE=true;

 
function checkName(){
            if(document.CONTACT_FORM.name.value==""){
            //alert the user
              alert("Please write a value in the Name field\n"); 
              document.CONTACT_FORM.name.focus();
            }
}


function checkMail(){ 
            if(document.CONTACT_FORM.email.value==""){
            //alert the user
              alert("Please write a value in the E-mail field\n"); 
              document.CONTACT_FORM.email.focus();
     
           }
}

        
function checkData(){
            if((document.CONTACT_FORM.phone.value=="") ||
              (document.CONTACT_FORM.email.value=="")) {
            //alert the user
              alert("Please write a value in the required fields\n");
              return (false)
            }
            else
              return (true)
             
}

function dateOfToday() {
            var today = new Date();
            var thisDay = today.getDate();
            var thisMonth = today.getMonth() + 1;
            var thisYear = today.getFullYear();
            return thisMonth+"/"+thisDay+"/"+thisYear;
}

function start() {
            document.CONTACT_FORM.FORMDATE.value=dateOfToday();
            checkBrowser();
            document.CONTACT_FORM.SECTION.focus();
}


function setAction(){
            var index;
 

            index = document.CONTACT_FORM.SECTION.selectedIndex;

/*           
            if(index==5){
              document.CONTACT_FORM._recipients.value = "uwe@intproducts.com";
              return true;
            }
*/            
            document.CONTACT_FORM._recipients.value = "sales@intproducts.com";

}


 