var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;

if (checkIt('konqueror'))
{
	browser = "Konqueror";
	OS = "Linux";
}
else if (checkIt('safari')) browser = "Safari"
else if (checkIt('omniweb')) browser = "OmniWeb"
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('webtv')) browser = "WebTV";
else if (checkIt('icab')) browser = "iCab"
else if (checkIt('msie')) browser = "Internet Explorer"
else if (!checkIt('compatible'))
{
	browser = "Netscape Navigator"
	version = detect.charAt(8);
}
else browser = "An unknown browser";

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 = "an unknown operating system";
}

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;

}


if (browser == "Internet Explorer" && OS == "Windows")
{

var left1 ='<td width = \"46\" height = \"100%\"><img src = \"graphics\/blank.gif\" width=\"46\" height=\"100%\" style=\"filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/left_shadow.png,sizingMethod=scale)\"><\/td>';
var right1 ='<td width = \"46\" height = \"100%\"><img src = \"graphics\/blank.gif\" width=\"46\" height=\"100%\" style=\"filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/right_shadow.png,sizingMethod=scale)\"><\/td>';

var bottom_left = '<td width = \"46\" height=\"10\"><img src = \"graphics\/blank.gif\" width=\"46\" height=\"10\" style=\"filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/bottom_left_shadow.png,sizingMethod=scale)\"><\/td>';
var bottom_right = '<td width = \"46\" height=\"10\"><img src = \"graphics\/blank.gif\" width=\"46\" height=\"10\" style=\"filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/bottom_right_shadow.png,sizingMethod=scale)\"><\/td>';

var bottom = '<td width = \"762\" height = \"56\"><img src = \"graphics\/blank.gif\" width=\"762\" height=\"56\" style=\"filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/bottom_shadow.png, sizingMethod=scale)\"><\/td>';
}
else
{
var left1 = "<td width = '46' height = '100%' background = 'graphics/left_shadow.png'><div style = 'width:46px;'></div></td>"
var right1 = "<td width = '46' height = '100%' background = 'graphics/right_shadow.png'><div style = 'width:46px;'></div></td>"

var bottom_left = "<td width = '46' background = 'graphics/bottom_left_shadow.png'><div style = 'width:46px;'></div></td>"
var bottom_right = "<td width = '46' background = 'graphics/bottom_right_shadow.png'><div style = 'width:46px;'></div></td>"

var bottom = "<td width = '762' height = '56' background = 'graphics/bottom_shadow.png'>&nbsp;</td>"

}





//<td width="46" height = "100%>
//				<div style = "width:46px;">
//				<img src = "graphics/blank.gif" width="46" height="100%" style="filter: progid:DXImageTransform.		//Microsoft.AlphaImageLoader(src=graphics/left_shadow.png, sizingMethod=scale)">
//				</div>
//				</td>


//<table border="0" cellpadding="0" cellspacing="0" height = "10" width="100%" ID="Table5">
//<tr>
//<td class = "footercontent">&nbsp;</td>
//<td width = "4"><div style = "width:4px;"></td>
//<td width = "46" class = "footercontent"><img src = "graphics/blank.gif" width="46" height="10" style="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/bottom_left_shadow.png,sizingMethod=scale)">&nbsp;</td>
//<!--<script language = "javascript">document.write(bottom_left)</script>-->
//<td width = "670" bgcolor = "white"><div style = "width:670px;"></div></td>
//<td width = "46" class = "footercontent"><img src = "graphics/blank.gif" width="46" height="10" style="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=graphics/bottom_right_shadow.png,sizingMethod=scale)">&nbsp;</td>
//<td width = "4"><div style = "width:4px;"></td>
//<td class = "footercontent">&nbsp;</td>
//</tr>
//</table>