function MM_callJS(jsStr) { //v1.2a  var NS = (navigator.appName.indexOf('Netscape') != -1);  var ver = parseFloat(navigator.appVersion);  if (NS && ver >= 4) return window.eval(jsStr);  else  return eval(jsStr);}if (window.MM_callJS == null) window.MM_callJS = MM_callJS;function MM_changeProp(objStrNS,objStrIE,theProp,theValue) { //v1.2  var NS = (navigator.appName == 'Netscape');  var objStr = (NS)?objStrNS:objStrIE;  if (( NS && (objStr.indexOf('document.layers[')!=0 || document.layers!=null)) ||      (!NS && (objStr.indexOf('document.all[')   !=0 || document.all   !=null))) {    var obj = MM_callJS(objStr);    if ((obj != null) && (theProp.indexOf("style.") != 0 || obj.style != null)) {      MM_callJS(objStr+'.'+theProp + '="'+theValue+'"');  } }}if (window.MM_changeProp == null) window.MM_changeProp = MM_changeProp;function MM_checkBrowser(NSvers,NSpass,NSnoPass,IEvers,IEpass,IEnoPass,OBpass,URL,altURL) { //v1.2  var newURL = '', version = parseFloat(navigator.appVersion);  if (navigator.appName.indexOf('Netscape') != -1) {    if (version >= NSvers) {if (NSpass>0) newURL = (NSpass==1)?URL:altURL;}    else {if (NSnoPass>0) newURL = (NSnoPass==1)?URL:altURL;}  } else if (navigator.appName.indexOf('Microsoft') != -1) {    if (version >= IEvers) {if (IEpass>0) newURL = (IEpass==1)?URL:altURL;}    else {if (IEnoPass>0) newURL = (IEnoPass==1)?URL:altURL;}  } else if (OBpass>0) newURL = (OBpass==1)?URL:altURL;  if (newURL) {    window.location = unescape(newURL);    document.MM_returnValue = false;    window.document.MM_returnValue = document.MM_returnValue;  }}if (window.MM_checkBrowser == null) window.MM_checkBrowser = MM_checkBrowser;function MM_checkPlugin(plugin, theURL, altURL, IEGoesToURL) { //v1.2  if ((navigator.plugins && navigator.plugins[plugin]) || //if NS, or      (IEGoesToURL &&  //if flag set, and MSIE browser for Win95/NT (ActiveX)       navigator.appName.indexOf('Microsoft') != -1 &&       navigator.appVersion.indexOf('Mac') == -1 &&       navigator.appVersion.indexOf('3.1') == -1)) {    if (theURL.length>2) window.location = theURL;  } else {    if (altURL.length>2) window.location = altURL;  }  document.MM_returnValue = false;  window.document.MM_returnValue = document.MM_returnValue;}if (window.MM_checkPlugin == null) window.MM_checkPlugin = MM_checkPlugin;function MM_controlShockwave(objStrNS,objStrIE,cmdName,frameNum) { //v1.2  var objStr = (navigator.appName=='Netscape')?objStrNS:objStrIE;  if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||      (objStr.indexOf('document.all[')   ==0 && document.all   ==null))    objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);  if (MM_callJS(objStr) != null)    MM_callJS(objStr+'.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');}if (window.MM_controlShockwave == null) window.MM_controlShockwave = MM_controlShockwave;function MM_controlSound(sndAction,sndObj) { //v1.2  if (MM_callJS(sndObj) != null) {    if (navigator.appName=='Netscape') MM_callJS(sndObj+((sndAction=='stop')?'.stop()':'.play(false)'));    else if (MM_callJS(sndObj+".FileName")) MM_callJS(sndObj+((sndAction=='stop')?'.stop()':'.run()'));  }}if (window.MM_controlSound == null) window.MM_controlSound = MM_controlSound;function MM_displayStatusMsg(msgStr) { //v1.2  status=msgStr;  document.MM_returnValue = true;  window.document.MM_returnValue = document.MM_returnValue;}if (window.MM_displayStatusMsg == null) window.MM_displayStatusMsg = MM_displayStatusMsg;function MM_goToURL() { //v1.2  args = (window.MM_goToURL != null) ? window.MM_goToURL.arguments : MM_goToURL.arguments;  for (var i=0; i< (args.length - 1); i+=2) //with arg pairs    MM_callJS(args[i]+".location='"+args[i+1]+"'");  document.MM_returnValue = false;  window.document.MM_returnValue = document.MM_returnValue;}if (window.MM_goToURL == null) window.MM_goToURL = MM_goToURL;function MM_openBrWindow(theURL,winName,features) { //v1.2  window.open(theURL,winName,features);}if (window.MM_openBrWindow == null) window.MM_openBrWindow = MM_openBrWindow;function MM_popupMsg(theMsg) { //v1.2  alert(theMsg);}if (window.MM_popupMsg == null) window.MM_popupMsg = MM_popupMsg;function MM_showHideLayers() { //v1.2  var i, visStr, args, theObj;  args = (window.MM_showHideLayers.arguments != null) ? window.MM_showHideLayers.arguments : MM_showHideLayers.arguments;  for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)    visStr   = args[i+2];    if (navigator.appName == 'Netscape' && document.layers != null) {      theObj = MM_callJS(args[i]);      if (theObj) theObj.visibility = visStr;    } else if (document.all != null) { //IE      if (visStr == 'show') visStr = 'visible'; //convert vals      if (visStr == 'hide') visStr = 'hidden';      theObj = MM_callJS(args[i+1]);      if (theObj) theObj.style.visibility = visStr;  } }}if (window.MM_showHideLayers == null) window.MM_showHideLayers = MM_showHideLayers;function MM_replaceLayerText(NSlayerRef,IElayerRef,newText) { //v1.2a  var layerObj, NS = (navigator.appName=="Netscape");  if (document.layers || document.all) layerObj = MM_callJS((NS)?NSlayerRef:IElayerRef);  if (layerObj) with (layerObj) { //if layer found    if (NS) {document.write(newText); document.close();}    else innerHTML = newText;  }}if (window.MM_replaceLayerText == null) window.MM_replaceLayerText = MM_replaceLayerText;function MM_swapImgRestore() { //v1.2  if (window.document.MM_swapImgData != null)    for (var i=0; i<(window.document.MM_swapImgData.length-1); i+=2)      window.document.MM_swapImgData[i].src = window.document.MM_swapImgData[i+1];}if (window.MM_swapImgRestore == null) window.MM_swapImgRestore = MM_swapImgRestore;function MM_swapImage() { //v1.2  var i,j=0,objStr,obj,swapArray=new Array,oldArray=window.document.MM_swapImgData;  var args = (window.MM_swapImage.arguments != null) ? window.MM_swapImage.arguments : MM_swapImage.arguments;  for (i=0; i < (args.length-2); i+=3) {    objStr = args[(navigator.appName == 'Netscape')?i:i+1];    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);    obj = MM_callJS(objStr);    if (obj != null) {      swapArray[j++] = obj;      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];      obj.src = args[i+2];  } }  window.document.MM_swapImgData = swapArray; //used for restore}if (window.MM_swapImage == null) window.MM_swapImage = MM_swapImage;function MM_validateForm() { //v1.2  var i,objStr,field,theCheck,atPos,theNum,colonPos,min,max,errors='';  var args = (window.MM_validateForm.arguments != null) ? window.MM_validateForm.arguments : MM_validateForm.arguments;  for (i=0; i<(args.length-2); i+=3) {    objStr = args[(navigator.appName == 'Netscape')?i:i+1];    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))      objStr = 'document'+objStr.substring(objStr.substring(0,objStr.lastIndexOf('.')).                 lastIndexOf('.'),objStr.length);  //fix layer ref if not supp    field = MM_callJS(objStr);    field.name = (field.name)?field.name:objStr;    theCheck = args[i+2];    if (field.value) { //IF NOT EMPTY FIELD      if (theCheck.indexOf('isEmail') != -1) { //CHECK EMAIL        atPos = field.value.indexOf('@');        if (atPos < 1 || atPos == (field.value.length - 1))          errors += '- '+field.name+' must contain an e-mail address.\n';      } else if (theCheck != 'R') { //START NUM CHECKS        theNum = parseFloat(field.value);        if (field.value != ''+theNum) errors += '- '+field.name+' must contain a number.\n';        if (theCheck.indexOf('inRange') != -1) { //CHECK RANGE          colonPos = theCheck.indexOf(':');          min = theCheck.substring(8,colonPos);          max = theCheck.substring(colonPos+1,theCheck.length);          if (theNum < min || max < theNum) //bad range            errors += '- '+field.name+' must contain a number between '+min+' and '+max+'.\n';    } } }    else if (theCheck.charAt(0) == 'R') errors += '- '+field.name+' is required.\n';  }  if (errors) alert('The form was not submitted due to the following error(s):\n'+                    errors+'\nPlease make changes and submit the form again.');  document.MM_returnValue = (errors == '');  window.document.MM_returnValue = document.MM_returnValue;}if (window.MM_validateForm == null) window.MM_validateForm = MM_validateForm;function KA_preloadImages() { //v1.2  if (document.images) {    var imgFiles = KA_preloadImages.arguments;    document.preloadArray = new Array();    for (var i=0; i<imgFiles.length; i++) {      document.preloadArray[i] = new Image;      document.preloadArray[i].src = imgFiles[i];    }  }}