
var detect = navigator.userAgent.toLowerCase(); 
var browser, thestring,place; 
if (checkIt('firefox')) browser = "firefox"; 
else if (!checkIt('compatible')) { browser = "netscape";  }
else browser = "msie"; 

function checkIt(string) { place = detect.indexOf(string) + 1; thestring = string; return place;}

if (screen.width <= 800) res="600";
else res="768";


function gomail() 

{ 	if  (browser == "netscape" || browser == "firefox")
		{if (res>600)
		window.location="http://www.citadel-records.com/mailorder/net768.html"
		else window.location="http://www.citadel-records.com/mailorder/net600.html"}

 	else		{

		if (res>600)
		window.location="http://www.citadel-records.com/mailorder/768.html"
		else window.location="http://www.citadel-records.com/mailorder/600.html"}
}
