		 var mywindow;	
			function SubmitKeyStatistics()
				{
				  
				   mywindow = window.open('KeyStatistics.asp','myname','width=510, height=510, top=30, left=100, location=no, menubar=no, resizable=no, scrollbars=YES, status=no, titlebar=yes,  toolbar=no');
				   mywindow.location.href = 'KeyStatistics.asp';
				   if (mywindow.opener == null) mywindow.opener = self;
                   
				   
				}
				function instClick_fromKeyWindow()
				 {
				   self.document.formSelection.target = "_parent";
				   self.document.formSelection.action = "main.asp?formname=inst";
				   self.document.formSelection.submit();
				   mywindow.close();
				  }
				  function bhcClick_fromKeyWindow()
				 {
				   self.document.formSelection.target = "_parent";
				   self.document.formSelection.action = "main.asp?formname=bhc";
				   self.document.formSelection.submit();
				   mywindow.close();
				  }
				  function offClick_fromKeyWindow()
				  {
				   self.document.formSelection.target = "_parent";
				   self.document.formSelection.action = "main.asp?formname=office";
				   self.document.formSelection.submit();
				   mywindow.close();
				  
				  }
				  function compareClick_fromKeyWindow()
				  {
				   self.document.formSelection.target = "_parent";
				   self.document.formSelection.action = "main.asp?formname=compare";
				   self.document.formSelection.submit();
				   mywindow.close();
				  
				  }
function SwitchImg()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} //end

function RestoreImg()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end


