
function attachDRCSS(){
	if(typeof basePath == 'undefined'){
		basePath = "/drui";
	}
	 //Attaches browser specific stylesheet
	var b = 'ff', n = navigator, v = n.appVersion;
	if (v.indexOf("MSIE 7") > -1 || v.indexOf("MSIE 8") > -1 ){
		b = 'ie7';
	}else if(n.appName.indexOf("Explorer") > -1){
		b = 'ie6';
	}

	var c = document.createElement('link');
		c.type = 'text/css';
		c.rel = 'stylesheet';
		c.href = basePath + '/css/dr-stylesheet-'+b+'-compressed.css';
	document.getElementsByTagName("head")[0].appendChild(c);
};

attachDRCSS();	
