// 	Gueridon.com General API(JavaScript)
// 	Author : EJFIIIWebDesign.com

//	Browser Brand Determination
	var isIE=false; var isNN=false; var isOP=false; isFF=false; 
	if (navigator.userAgent.indexOf("Opera")!=-1) isOP=true;
	if ((navigator.appName.indexOf("Microsoft")!=-1) && (navigator.userAgent.indexOf("Opera")==-1)) isIE=true;
	if (navigator.userAgent.indexOf("Firefox")!=-1) isFF=true;
	if ((navigator.appName.indexOf("Netscape")!=-1) && (navigator.userAgent.indexOf("Firefox")==-1)) isNN=true;


//	Launch Join Mailing List Request Window
	function launchMailReq() {
		popUpWin=window.open("http://www.gueridon.com/eNewsLetters/mailSignUp_Form.html", "mailRequest", "width=660px,height=470px,toolbar=0,status=0,menubar=0,scrollbars=1,resizable=0,location=0");
		if (window.focus) {popUpWin.focus();}
		}

//	Launch Driving Directions Request Window
	function launchMap() {
		popUpWin=window.open("map.html", "mapRequest", "width=680px,height=480px,toolbar=0,status=0,menubar=0,scrollbars=1,resizable=0,location=0");
		if (window.focus) {popUpWin.focus();}
		}

//	Launch Tear Sheet
	function tearsheetPopUp(fileName) {
		popUpWin = window.open("inSTOCK/tearsheets/"+fileName+".pdf", fileName, "width=660px,height=500px,toolbar=0,status=0,menubar=0,scrollbars=1,resizable=1,location=0");
		if (window.focus) {popUpWin.focus();}
		}


// Set Default Window.Status Message
	window.defaultStatus="Guerdon, LLC.";
