if (screen.width<=640)	{alert("This site is maximized for a screen setting of 600x800 pixels. Please adjust to this screen size for the best viewing results.");}
if (window!= top) {top.location.href=location.href;}
if (screen.width<1024)	{window.location=redirect;}
res=768; 
var style="";
//detection procedures
var detect = navigator.userAgent.toLowerCase(); 
var OS, browser, version, total, thestring; 

if (checkIt('msie')) style = "msie";
else if (checkIt('firefox')) style = "firefox"; 
else  if (checkIt('opera')) style = "opera"; 
else if (!checkIt('compatible')) { style = "netscape"; version = detect.charAt(8); }
else style = "msie"; 

if (!version) version = detect.charAt(place + thestring.length); 
if (!OS) { 
	if (checkIt('linux')) {OS = "linux";}
	else if (checkIt('x11')) {OS = "unix";} 
	else if (checkIt('mac')) {OS = "mac";}
	else if (checkIt('win')) {OS = "windows";} 
	else {OS = "unknown operating system";} 
} 
function checkIt(string) { place = detect.indexOf(string) + 1; thestring = string; return place;}

function gohome(){window.location=''+path+'index_'+browser+''+res+'.html';}

function gomail(){	if  (browser == "net") window.location="http://www.citadel-records.com/mailorder/net768.html"
else window.location="http://www.citadel-records.com/mailorder/768.html"}

function centeredWindow(url,w,h){ LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes'; win=window.open(url,'',settings); win.focus();}

function openWindow(url) {newWin = this.open(url, 'CtrlWin', 'toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,status=yes')}

function bookmarkNews() {if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {var url="http://www.deniztek.com/news/768/index.html";var title="Deniz Tek News Page";
window.external.AddFavorite(url,title); }}

function goHist(a) 	{history.go(a);}
function topgo(){
window.scrollTo(0,0);}
document.ondblclick=topgo;
document.write('<LINK REL=stylesheet TYPE=text/css HREF="'+path+'styles/'+res+'/'+style+'.css">');
