﻿$(document).ready(function(){
     
     $("#servicesHome a[title]").tooltip({

         // tweak the position
         offset: [0, 0],

         // use the "slide" effect
         effect: 'slide'

         // add dynamic plugin with optional configuration for bottom edge
     }).dynamic({ bottom: { direction: 'down', bounce: true} });
     });


$(document).ready(function(){
      $("#tabs").tabs();
   
     });

function printBox(Pagename) { window.open(Pagename, '', 'scrollbars=yes,titlebars=no,width=470,height=570,top=200,left=200') }

jQuery(document).ready(function($) {
        $('a[rel*=facebox]').facebox();
       
        
    })
    
      function Focus(objname, waterMarkText) {
          obj = document.getElementById(objname);
          if (obj.value == waterMarkText) {
              obj.value = "";
              obj.className = "NormalTextBox";
              if (obj.value == "User ID" || obj.value == "" || obj.value == null) {
                  obj.style.color = "black";
              }
          }
      }
      function Blur(objname, waterMarkText) {
          obj = document.getElementById(objname);
          if (obj.value == "") {
              obj.value = waterMarkText;
              if (objname != "txtPwd") {
                  obj.className = "WaterMarkedTextBox";
              }
              else {
                  obj.className = "WaterMarkedTextBoxPSW";
              }
          }
          else {
              obj.className = "NormalTextBox";
          }

          if (obj.value == "User ID" || obj.value == "" || obj.value == null) {
              obj.style.color = "gray";
          }
      }
  
 jQuery(document).ready(function(){
	$('#news-container').vTicker({ 
		speed: 500,
		pause: 3000,
		animation: 'fade',
		mousePause: true,
		showItems:1
	});
});
