var plain_window = null;

function fWindow(destination,destname){

  if(screen.availWidth){
                if(screen.availWidth > 650){
                var wdt = 760;
                var hgt = 510;}
                else{
                var wdt = 610;
                var hgt = 460;}}
  else{
                var wdt = 610;
                var hgt = 460;}

  var specials = "width=" + wdt + ",height=" + hgt + ",top=0,left=0,toolbar,resizable,scrollbars";
  plain_window = window.open(destination,destname,specials);
  plain_window.focus();	
  }



function kelly(){
		fWindow('http://www.kbb.com/kb/ki.dll/kw.kc.uy?kbb&;t&21&&','kellyWindow');
	}



 function turnOn(button) {
      if (document.images)
           {
           document[button].src = button + "_on.gif"; 
          }}


   function turnOff(button) {
      if (document.images)
           {
           document[button].src = button + "_of.gif";
           }}

   function changeBan(button) {
      if (document.images)
           {
           document.ban.src = button + "_ban.gif";
           }}

