<!-- Hide script from older browsers 	
   
     function Message(text) {
	  
	  alert(text);
          return false;
          
     }
     
// This section is used for swapimage

     function MM_swapImgRestore() { //v3.0

          var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

     }

     function MM_preloadImages() { //v3.0

          var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
          var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
          if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

     }

     function MM_findObj(n, d) { //v4.0

          var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
          d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
          if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
          for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
          if(!x && document.getElementById) x=document.getElementById(n); return x;

     }

     function MM_swapImage() { //v3.0

          var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
          if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

     }

// This section is used for submenu

     function SwitchSubMenu(obj){
          if(document.getElementById){
               var el = document.getElementById(obj);
               if(el.style.display != "block"){
                    el.style.display = "block";
                    el.style.backgroundColor = '#CEDFFF';
               } else {
                    el.style.display = "none";
                    el.style.backgroundColor = '#BDCFF7';
               }
          }
     }

     function mOvrSubMenu(src) {

      /*  if (!src.contains(event.fromElement))   */
          {
               src.style.cursor = 'hand';
               src.style.backgroundColor = '#CEDFFF';
          }

     }

     function mOutSubMenu(src) {

     /*  if (!src.contains(event.toElement)) */
         {
               src.style.cursor = 'default';
               src.style.backgroundColor = '#BDCFF7';
          }

     }

     function mOutSubMenuCurrent(src) {

      /*  if (!src.contains(event.toElement))   */
          {
               src.style.cursor = 'default';
               src.style.backgroundColor = '#FFFFFF';
          }

     }

     function mClkSubMenu(src) {

          if(event.srcElement.tagName=='DIV') {
               src.children.tags('A')[0].click();
          }

     }
/*
     function SwitchMenu(obj){

          if(document.getElementById){
               var el = document.getElementById(obj);
               if(el.style.display != "block") {
                    el.style.display = "block";
               } else {
                    el.style.display = "none";
               }
          }

     }
*/
// This section is used for highlighting tables

     function mOvrTable(src) {

       /* if (!src.contains(event.fromElement)) */
          {
               src.style.backgroundColor = '#CEDFFF';
          }

     }

     function mOvrTable0(src) {

/*        if (!src.contains(event.fromElement)) */
          {
               src.style.backgroundColor = '#CEDFFF';
          }

     }

     function mOvrTable1(src) {

      /*  if (!src.contains(event.fromElement)) */
          {
               src.style.backgroundColor = '#CEDFFF';
          }

     }

     function mOutTable(src) {

/*        if (!src.contains(event.toElement)) */
          { 
               src.style.backgroundColor = '#FFFFFF';
          }

     }

     function mOutTable0(src) {

  /*      if (!src.contains(event.toElement))  */
          {
               src.style.backgroundColor = '#FFFFFF';
          }

     }

     function mOutTable1(src) {

/*        if (!src.contains(event.toElement))  */
          {
               src.style.backgroundColor = '#EFEFEF';
          }

     }

     function mClkTable(src) {

          if(event.srcElement.tagName=='TR') {
               src.children.tags('A')[0].click();
          }

     }

// This section is used for opening mov files

     function openWindowMOV(filename) {

          var winWidth = 480;
          var winHeight = 375;

          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+'';

          newWindow = window.open(filename, 'Labs', winprops);
          newWindow.focus();

     }

// This section is used for opening swf files

     function openWindowSWF(filename, windowName) {

          var winWidth = 620;
          var winHeight = 470;

          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=yes';

          newWindow = window.open(filename, windowName, winprops);
     //   newWindow = window.open(filename, 'Videos', 'statusbar=no,toolbar=no,resizable=yes,menubar=no,scrollbars=no,titlebar=no,fullscreen=yes');
          newWindow.focus();
          
          

     }
     
     function openWindowLR(filename, windowName) {

  //      var winWidth = 620;
    //    var winHeight = 470;

	  var winWidth = 480;
	  var winHeight = 360;
	  
          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=yes';

          newWindow = window.open(filename, windowName, winprops);
     //   newWindow = window.open(filename, 'Videos', 'statusbar=no,toolbar=no,resizable=yes,menubar=no,scrollbars=no,titlebar=no,fullscreen=yes');
          newWindow.focus();
          
     }
     
     function openWindowURL(filename, windowName, winWidth, winHeight) {

  //      var winWidth = 620;
    //    var winHeight = 470;

//	  var winWidth = 480;
//	  var winHeight = 360;
	  
          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=yes,scrollbars=yes';

          newWindow = window.open(filename, windowName, winprops);
     //   newWindow = window.open(filename, 'Videos', 'statusbar=no,toolbar=no,resizable=yes,menubar=no,scrollbars=no,titlebar=no,fullscreen=yes');
          newWindow.focus();
          
          

     }
     

// This section is used for opening swf files

     function openWindowQuestions(filename) {

          var winWidth = 740;
          var winHeight = 520;

          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=no';

          newWindow = window.open(filename, 'Questions', winprops);
          newWindow.focus();

     }

// This section is used for opening new window

	function openWindow(filename, thewindowname, winWidth, winHeight) {

		var winLeft = (screen.width - winWidth) / 2;
		var winTop = (screen.height - winHeight) / 2;

		winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=yes,scrollbars=yes,statusbars=yes';

		newWindow = window.open(filename, thewindowname, winprops);    	  
		newWindow.focus();
    }
     
    
     function closeWindow(){
     	
     	window.close();
	if (window.opener && !window.opener.closed) {
		window.opener.location.reload();
	}
	 
     }	
     
     function openWindow2(filename, thewindowname, winWidth, winHeight) {

          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=no,scrollbars=no,statusbars=yes';

          newWindow = window.open(filename, thewindowname, winprops);    	  
          newWindow.focus();

     }

// This section is used for opening new window, resizable=NO

     function openWindowC(filename, thewindowname, winWidth, winHeight) {

          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;
	  
	  winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',resizable=no,scrollbars=1';

          newWindow = window.open(filename, thewindowname, winprops);    	  
          newWindow.focus();

     }
     
     function openWindowFS(filename, thewindowname) {

	  
	  winprops = 'fullscreen=1,resizable=1,scrollbars=1';

          newWindow = window.open(filename, thewindowname, winprops);    	  
          newWindow.focus();

     }
     
	 function openWindowFSM(filename, thewindowname) {

	  
	  winprops = 'fullscreen=1,resizable=1,scrollbars=1,menubar=1';

          newWindow = window.open(filename, thewindowname, winprops);    	  
          newWindow.focus();

     }
	 
	 

     
     
   
/*
     function createWindow(targetname, winWidth, winHeight) {

          var winLeft = (screen.width - winWidth) / 2;
          var winTop = (screen.height - winHeight) / 2;

          winprops = 'height='+winHeight+',width='+winWidth+',top='+winTop+',left='+winLeft+',status=yes';

          newWindow = window.open("", targetname, winprops);
          newWindow.focus();
          return true;

    }
*/

// End hiding script -->
