
function popupcontact(url) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open('"+ url +"', '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=540,height=530,left = 100,top = 100');");
}

function popupfinans(URL) {
	day = new Date();id = day.getTime();eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=850,height=850');");
}
function popup(URL) {
	day = new Date();id = day.getTime();eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=550');");
}


$(document).ready(function(){
	$('a.popup').click(function(){
		url = $(this).attr('href');
		popupcontact(url);
		return false;
	});

	$('a.popFinans').click(function(){
		url = $(this).attr('href');
		popupfinans(url);
		return false;
	});
	
	
	$('.wrapper table tr:odd').addClass('odd');
	$('.wrapper table tr td:has(img)').addClass('center');
	
	$('a.print').click(function() {
		popup($(this).attr('href'));
		return false;
	});
});
