/***********************************************************
 AbCommon.js contains javascript functions
 That apply to the majority of ARCHIBUS site
 ***********************************************************/
<!--
//
//MacroMedia's function to reload for Netscape 4 browsers
//
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//
//
function launchFlash (strSwf) {
	if (confirm (" A Flash presentation with audio will be opening:\n\r Adjust your speaker volume accordingly. Additional volume control is \n\r located on the lower left of the presentation.")) {
	window.open(strSwf,"displayWindow","resizable=yes, scrollbars=no, toolbar=no");  }
}
//
function doSearch() {
	var searchword = window.document.fsearch.searchv.value;
	if (trim(searchword).length > 0 && searchword != 'Search') {
		window.location = "http://www.archibus.com/searchresults.cfm?searchkey=" + searchword;
	} else {
		alert("Please enter a search term in the search textbox.");
	}
}	
function win_open(){
  
window.open("s_mail/mailwrite.htm","","width=640,height=540,top=250,left=300,scrollbars=yes");

}

//-->