function mailpage()
{
  mail_str = "mailto:?subject= Aerotech's Datasheet: " + document.title;
  mail_str += "&body= I recommend this product  -- " + document.title;
  mail_str += ". You should check this out at, " + location.href; 
  location.href = mail_str;
}
function PrintThisPage() 
{ 
   var sOption="toolbar=yes,location=no,directories=yes,menubar=yes,"; 
       sOption+="scrollbars=yes,width=750,height=600,left=100,top=25"; 

   var sWinHTML = document.getElementById('contentstart').innerHTML; 
   
   var winprint=window.open("","",sOption); 
       winprint.document.open(); 
       winprint.document.write('<html><LINK href=/printpage.css rel=Stylesheet><body onload="iNavigate.AfterLoad();">'); 
       winprint.document.write(sWinHTML);          
       winprint.document.write('</body></html>'); 
       winprint.document.close(); 
       winprint.focus(); 
}


function PrintPage(divId) {
   w=window.open('','newwin')
   w.document.write('<LINK href=/printpage.css rel=Stylesheet><SCRIPT LANGUAGE="JavaScript" SRC="/allscripts.js"></SCRIPT><body onLoad="window.print()">'+document.getElementById(divId).innerHTML+'</body>');
   w.document.close();
}



global=true;
function clearIt(textObj) {
  if (global) {
    textObj.value="";
    global=false;
  }
}

global2=true;
function clearIt2(textObj) {
  if (global2) {
    textObj.value="";
    global2=false;
  }
}

global3=true;
function clearIt3(textObj) {
  if (global3) {
    textObj.value="";
    global3=false;
  }
}



<!--
function OpenPP() {
		   var myWin = window.open("/products/drawings/browconfig.html", "PrivacyPolicy",  "status=no,scrollbars=no,menubar=no,resizable=no,location=no,width=500,height=400,left=200,top=250","PrivacyPolicy")
		      }	

function CheckEnglishOnly(field)
    {
        var sNewVal = "";
        var sFieldVal = field.value;
        
        for(var i = 0; i < sFieldVal.length; i++) {
            
            var ch = sFieldVal.charAt(i);
 
            var c = ch.charCodeAt(0);
            
            if(c < 0 || c > 255) {
             alert("You must fill all fields using English.")
return(false)   
				// Discard
            }
            else {
                sNewVal += ch;
            }
        }
        
        field.value = sNewVal;
    }
        
    function CheckArabicOnly(field)
    {     
        var sNewVal = "";
        var sFieldVal = field.value;
        
        for(var i = 0; i < sFieldVal.length; i++) {
            
            var ch = sFieldVal.charAt(i);;
            var c = ch.charCodeAt(0);
            
            if(c < 1536 || c > 1791) {
                // Discard
            }
            else {
                sNewVal += ch;
            }
        }
        
        field.value = sNewVal;
    }


function openInst() {
		    var myWin = window.open("http://www.aerotech.com/products/video/PartstreamTutorial.swf", "INST",  "status=no,scrollbars=yes,menubar=yes,resizable=yes,location=yes,width=640,height=480,left=200,top=50","INST")
		      }


function firstWindow() {
ElementWindow = window.open('/soloist/GUIbig.html',
'FirstWin','width=800,height=640,left=150,top=50')
}

function secondWindow() {
ElementWindow = window.open('/soloist/IDEbig.html',
'FirstWin','width=800,height=690,left=150,top=30')
}


function thirdWindow() {
ElementWindow = window.open('/soloist/LVbig.html',
'FirstWin','width=800,height=650,left=150,top=50')
}













