$(document).ready(function(){



/* Unobtrusive jquery ajax made it simple by max0xff */


//var $j = jQuery.noConflict();
//var $ = {};

//var urlrem = "http://www.babymod.eu/?page=";
//var urlrem2 = "&c=";

//function pageload(hash) {
//	if(hash) {
//		if($j.browser.msie) {
//			hash = encodeURIComponent(hash);
//		}
//		$j(function(){
//		  $j.get(urlrem + hash.replace("-","&c="), function(response){
//		      var responseWrapper = $j('<div />').append(response.replace(/<script(.|\s)*?\/script>/g, ""))
//		      $j('#nav').html(responseWrapper.find('#nav'));
//		  	  $j('#flash').html(hash);
//			  $j('#menu').html(responseWrapper.find('#menu'));
//		      $j('#content').html("").fadeIn(200).html(responseWrapper.find('#content'));
//	          $j('#gallery a').lightBox();
//			}
//		  );
//		});
//	}
//}
	
//	$j.historyInit(pageload);
 //      $j("a").live("click", function(){
//		var hash = this.href;	
//		hash = hash.replace(urlrem, '');
//		hash = hash.replace(urlrem2, '-');
//		$j.historyLoad(hash);
//		return false;
//		});


	
$('#gallery a').lightBox();
	

});

	
	

function del_cookie(name) {
document.cookie = name +
'=; expires=Thu, 01-Jan-70 00:00:01 GMT;';
}

function clearText(field){
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;
}
