
jQuery(document).ready(function(){
	
jQuery(".zebra tr").mouseover(function() {jQuery(this).addClass("over");}).mouseout(function() {jQuery(this).removeClass("over");});
jQuery(".zebra tr:even").addClass("alt");

 

jQuery(".switchable").click(function() {jQuery(this).toggleClass("switched");return false;});

jQuery(".clickable").click(function() {
	z=jQuery(this).attr("href");
	document.location=z;
	return false;
	;});
	
jQuery(".clickable-close").click(function() {
	 window.close();
	return false;
	;});
	
jQuery(".window-print").click(function() {
	 window.print();
	return false;
	;});
 
jQuery(".clickable-window").click(function() {
	z=jQuery(this).attr("href");
	nazwa=jQuery(this).attr("winname");
	//prop=jQuery(this).attr("winprop");
	prop='menubar=yes, toolbar=no, location=no, scrollbars=yes, ' +
'resizable=yes, status=yes,width=600, height=400';
	win=window.open(z,nazwa,prop)
	//document.location=z;
	if (window.focus) {win.focus()}
	return false;
	;});
	
jQuery(".clickable-confirm").click(function() {
	z=jQuery(this).attr("href");
	t=jQuery(this).attr("confirmtitle");
	if(confirm(t)){
		document.location=z;
	}
	return false;
	;});
	
	
jQuery(".toggleable-box").click(function() {
	z=jQuery(this).attr("rel");
	 
	jQuery("#"+z).toggle();
	return false;
	;});
	
jQuery(".numeric").numeric(".");


});

function goback(){	
	 history.go(-1);
		return false;
}

 
 
