jQuery.fn.clock = function(url, settings) {
	setInterval(function(){
		$('.clock').each(function(){
			var time = new Date()
			var timezone = parseInt($(this).attr('timezone')) 
			var minute = time.getUTCMinutes()
			var second = time.getUTCSeconds()
			var hour = (time.getUTCHours()+timezone) %12
			if (hour < 0) hour = 12-hour 
			hour = Math.round(((hour*5+((minute)/12))));
			
			
			$(this).children('.hour').css({top:-(hour*40)})
			$(this).children('.min').css({top:-(minute*40)})
			$(this).children('.sec').css({top:-(second*40)})
		})
	},1000)
}
/*
$(document).ready(function(){
	$('#Uhrenblatt1').clock()
	$("input.text").focus(function(){
		$(this).parent().addClass("active")
	})
	$("input").blur(function(){
		$(this).parent().removeClass("active")
	})
	$('input.error').parent().addClass("errorBlock")
	
   
	$("input[@title], input[@title]").focus(function() {
		if(this.value == $(this).attr('title'))		{this.value = ''}
		$(this).addClass('active')
	}).blur(function() {
		if (this.value == '')						{this.value = $(this).attr('title')}
		$(this).removeClass('active')
	}).trigger('blur');
});*/

