function changeBackground(colorId) {	var colors = ['','#ffffff', '#ee9300', '#0c95db', '#191919', '#bf2f39', '#8bba4a', '#57cbff', '#85888f', '#95916e', '#66808e', '#4a4e51', '#c59f5f', '#6796a6', '#ecf9fe', '#8b17c1']; 	$("body").css('background','');    $("html").css('background-color',colors[colorId]);    $.cookie("backgroundColor", colorId, {expires: 30, path: "/"} );   $('#background_select a').removeClass('select');   $('#background_select a.bg'+colorId).addClass('select');   if (colorId==1) $(".mainBoxShadow").css('background','transparent');   else $(".mainBoxShadow").css('background','#fff url(/images/content-bg.png) repeat-y');  // add stripes}function changeItemBg(boxId) {    boxId = '.item-' + boxId;    $(boxId).css('background-image','url(/images/catItemBoxHover.png)');}function backwardItemBg(boxId) {    boxId = '.item-' + boxId;    $(boxId).css('background-image','url(/images/catItemBox.png)');}            $(window).load(function () {    $("#shadow-1").width( $("#menu-1").outerWidth() );    $("#shadow-2").width( $("#menu-2").outerWidth() );    $("#shadow-3").width( $("#menu-3").outerWidth() );    $("#shadow-4").width( $("#menu-4").outerWidth() );    $("#shadow-5").width( $("#menu-5").outerWidth() );    $("#shadow-6").width( $("#menu-6").outerWidth() );    $("#shadow-7").width( $("#menu-7").outerWidth() );    $("#shadow-8").width( $("#menu-8").outerWidth() );    $(".FinanceOptions").height( $(".optionBoxBody").outerHeight() );});function getBrowserInfo() {  var t,v = undefined;  if (window.chrome) t = 'Chrome';  else if (window.opera) t = 'Opera';  else if (document.all) {  t = 'IE';  var nv = navigator.appVersion;  var s = nv.indexOf('MSIE')+5;  v = nv.substring(s,s+1);  }  else if (navigator.appName) t = 'Netscape';  return {type:t,version:v};}function bookmark(a){  var url = window.document.location;  var title = window.document.title;  var b = getBrowserInfo();  if (b.type == 'IE' && 8 >= b.version && b.version >= 4) window.external.AddFavorite(url,title);  else if (b.type == 'Opera') {  a.href = url;  a.rel = "sidebar";  a.title = url+','+title;  return true;  }  else if (b.type == "Netscape") window.sidebar.addPanel(title,url,"");  else alert("Press CTRL-D, to add page to favorites.");  return false;}
