//Define browser
function verifyCompatibleBrowser(){ 
	this.ver=navigator.appVersion 
	this.dom=document.getElementById?1:0 
	this.hrw=(this.ver.indexOf('Mac')>-1) ? 'mac': 'pc';
	this.app=(document.all) ? 'ie': 'ns'; 
    return this 
} 
bw=new verifyCompatibleBrowser() 

//Stylesheet substitution
document.write('<LINK REL="stylesheet" HREF="css/' + 'otdelka_' + bw.hrw + '_' + bw.app + '.css" TYPE="text/css">')

