
var ua = navigator.userAgent.toLowerCase(); 
this.ua= ua;
this.isIE        = ( (ua.indexOf("msie") != -1) && (ua.indexOf("opera") == -1) && (ua.indexOf("webtv") == -1) ); 
this.versionMinor = parseFloat(navigator.appVersion); 
document.write ("<style>")
if (this.isIE && this.versionMinor >= 4) {
	document.write (".topedge {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + applicationRoot + "/common/images/topedge.png'); height:11px;}") 
	document.write (".middlewrap {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + applicationRoot + "/common/images/background_shadow.png', sizingMethod='scale'); width:811px;}") 
	document.write (".bottomedge {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + applicationRoot + "/common/images/bottomedge.png'); height:11px;}")
}	
else{
	document.write (".topedge { background-image:url(" + applicationRoot + "/common/images/topEdge.png); height:11px;}") 
	document.write (".middlewrap { background-image:url(" + applicationRoot + "/common/images/background_shadow.png); background-repeat: width:811px; repeat-y;}") 
	document.write (".bottomedge { background-image:url(" + applicationRoot + "/common/images/bottomedge.png); height:11px;}") 
}	
document.write ("</style>")
