jQuery(document).ready(function(){



pn =jQuery('#posted-name').attr('value');
if(jQuery(pn).length > 0){

	jQuery('#posted-name').attr('value','Name');


	jQuery('#posted-name').click(function(){
	
	
		jQuery(this).attr('value','')
	
	
	});


}

pe = jQuery('#posted-email').attr('value');
if(jQuery(pe).length > 0 ){

	jQuery('#posted-email').attr('value','E-mail');

	jQuery('#posted-email').click(function(){
	
	
		jQuery(this).attr('value','')
	
	
	});


}

ps = jQuery('#posted-service').attr('value');
if(jQuery(pe).length > 0 ){

	jQuery('#posted-service').attr('value','Service');

	jQuery('#posted-service').click(function(){
	
	
		jQuery(this).attr('value','')
	
	
	});

}
ps = jQuery('#posted-tel').attr('value');
if(jQuery(pe).length > 0 ){

	jQuery('#posted-tel').attr('value','Tel:');

	jQuery('#posted-tel').click(function(){
	
	
		jQuery(this).attr('value','')
	
	
	});

}

	jQuery('.news').click(function(){
	linktag = jQuery(this).find('.link').attr('href');
	window.location = linktag;

	


});	
	jQuery('.news_press').click(function(){
	linktag = jQuery(this).find('.link').attr('href');
	window.location = linktag;

	


});	
	jQuery('.news').hover(function(){
		ishover = jQuery(this).attr('id');

	 	jQuery(this).css('cursor','pointer');
		jQuery(this).attr('id','hover');
	
	},function(){

	if(ishover){

	}else{

		jQuery(this).attr('id','');

	}	
	});						
	//console.trace(displayTime);							

	jQuery('.news_press').hover(function(){
		ishover = jQuery(this).attr('id');
	 	jQuery(this).css('cursor','pointer');
		jQuery(this).attr('id','hover');
	
	},function(){

	if(ishover){

	}else{

		jQuery(this).attr('id','');

	}	
	});	
});
//i = 0;
//displayTime = 15; 
//displayTimeset = 15;
    //countDown = function(message){
        //displayTime--; 
		       //if (displayTime == 1){

					//i++;
					//if(i > 2){
			
					//i = 0;

					//}
					//jQuery('.news').attr('id','');
					//jQuery('.news').eq(i).attr('id','hover');
					
					//displayTime = displayTimeset;
				
					
				//}





//} 
    //timer = setInterval(countDown, 400);


