﻿

$(document).ready(function() {
 

if($.browser.msie && $.browser.version <= 8){
var zIndexNumber = 1000;
	$('div').each(function() {
		$(this).css('zIndex', zIndexNumber);
		zIndexNumber -= 1;
	});

} 

$.geekSkypeRemover(10000);
	$('#form, #aspnetForm').find('label.mandatory').append('<div class="required-star">*</div>');
	


 
 $(".featured-blocks li").click(function() {
	  window.location = $(this).find("a").attr("href"); return false;

	});
 
$("ul.featured-blocks li", this).hover(function(){
		 $(this).stop().animate({backgroundColor: '#fff'}, 'fast');

		   $(this).find("div.overlay").stop().animate({marginTop: "50px" },{queue:false,duration:250});
 
 }, function() {
					
				$(this).stop().animate({backgroundColor: '#e7e5e3'});
					 $(this).find("div.overlay").stop().animate({marginTop: "120px" },{queue:false,duration:250});
					


 
	}); 
       		$('input[type="text"], textarea').focus(function() {
 
    		    if (this.value == this.defaultValue){ 
    		    	this.value = '';
				}
				if(this.value != this.defaultValue){
	    			this.select();
	    		}
    		});
    		$('input[type="text"], textarea').blur(function() {
 
    		    if ($.trim(this.value) == ''){
			    	this.value = (this.defaultValue ? this.defaultValue : '');
				}
    		});
			
			
			
});			
			

