//jump menus
function jumpTo(targ,sel){ 
  eval(targ+".location='"+sel.options[sel.selectedIndex].value+"'");
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
// version check and redirect for upgrade path
function vCheck(){
        app=parseInt(navigator.appVersion.charAt(0));           //checks to makes sure the user is 
		if(app<4){                                              //a 4.0 browser, sends them 
		v=location.pathname.charAt(location.pathname.length-6); //to appropriate printer page
        eval(location="compare_fm"+v+"p.html");
        }
		else return true;
}

//Sets the Standard Status throughtout the site. does not work on Mac
window.defaultStatus = "LAEP"

//tmtC_NNresizeFix
if (document.layers) {
origWidth = innerWidth;
origHeight = innerHeight;}

function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();}
if (document.layers) onresize = reDo;
//tmtC_NNresizeFixEnd


//Script for Go Back button
function goBack () {
window.history.go (-1);
}

//standard pop-up
function stdPop(where,title,w,h){
	window.open(where, title, 'toolbar=no,scrollbars=yes,resizable=yes,width='+w+',height='+h+',top=100,left=100')
}

//quoter Pop-up
function quoterPop(){
	window.open('http://store.filemaker.com/web_quoter.html', 'WebQuoter', 'toolbar=no,scrollbars=yes,resizable=yes,width=646,height=500,top=100,left=100')
}


//Upgrade Path
function compare(){
	document.write('<select name="versions" style="font-size: 10px" onChange="jumpTo('+"'parent',this,0)"+'">')
document.write('<option value="/products/compare_fm6p.html">FileMaker Pro 5.5</option>')
document.write('<option value="/products/compare_fm5p.html">FileMaker Pro 5.0</option>')
document.write('<option value="/products/compare_fm4p.html">FileMaker Pro 4.1</option>')
document.write('<option value="/products/compare_fm3p.html" >FileMaker Pro 4.0</option>')
document.write('<option value="/products/compare_fm2p.html">FileMaker Pro 3.0</option>')
document.write('<option value="/products/compare_fm1p.html">FileMaker Pro 2.1</option>')
document.write('<option selected>Choose One</option></select>')
}

//Special Charactor Removal

function specialChar(field) {
        var re=/[*]|["]|[']/g;
		adjusted=field.value.replace(re, "");field.value=adjusted;
}

//Techinfo search functions
var ti='http://www.filemaker.com/ti/'; 

function smartClear(formText){
	if (formText.value=='Type search words here'||formText.value=='Type article number here')formText.value=''
}
function goArtNum(){
		var num=document.artNum.num
		if (isNaN(num.value)||num.value.length!=6){
			alert('Please type the 6 digit article number.');}
//else alert('hi')
//	 else location=ti+num.value+'.html'; 
	else eval("location='"+ti+num.value+".html'")
}



<!--Begin cloak
// Classified form and validation scheme by Tom Doan.
function formCheck() {
if (document.Form.fm_used_most.options[document.Form.fm_used_most.selectedIndex].value=="") {
alert("Please answer all required questions");document.Form.fm_used_most.focus();return false
}
if (document.Form.industry_best_applies.options[document.Form.industry_best_applies.selectedIndex].value=="") {
alert("Please answer all required questions");document.Form.industry_best_applies.focus();return false
}
if (document.Form.co_primary_function.options[document.Form.co_primary_function.selectedIndex].value=="") {
alert("Please answer all required questions");document.Form.co_primary_function.focus();return false
}}
// End cloak-->
