$(document).ready(function() {

	 var url = document.URL;
	 var id = url.match("^.*#id-([0-9]+).*$");
	 var date = new Date();
	 date.setTime(date.getTime() + 14 * 24 * 60 * 60 * 1000);
	 if (typeof(id)=='object'&&(id instanceof Array))
	 	document.cookie = 'partner='+id[1]+'; expires='+date.toGMTString()+'; path=/';


$("a.lightbox").fancybox({
'zoomSpeedIn': 300,
'zoomSpeedOut': 300,
'overlayShow': false
});
});

