$(document).ready(function(){
	$("a").click(function()
	{
		if($(this).attr('rel')=='tofriend')
		{
			re = open($(this).attr('href'), 'tofriend', 'width=470,height=400,status=no,toolbar=no,menubar=no,screenX=150,screenY=80');
			return false;
		}

		if($(this).attr('rel')=='present')
		{
			re = open($(this).attr('href'), 'present', 'width=500,height=500,status=no,toolbar=no,menubar=no,screenX=150,screenY=80,scrollbars=yes');
			return false;
		}

		
		if($(this).attr('rel')=='mailing')
		{
			re = open($(this).attr('href'), 'mailing', 'width=500,height=460,status=no,toolbar=no,menubar=no,screenX=150,screenY=80,scrollbars=yes');
			return false;
		}
	}
	);
	
	$("a[rel^='lightbox']").slimbox({/* Put custom options here */}, null, function(el) {
		return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
	}); 
	
	$("div.container-clients").scrollable({prev: '#left-arrow',next: '#right-arrow'});
	$("div.container-clients1").scrollable({prev: '#left-arrow1',next: '#right-arrow1'});

	$("div.container-clients7").scrollable({prev: '#left-arrow7',next: '#right-arrow7'});

$("div.container-clients_1").scrollable({prev: '#left-arrow_1',next: '#right-arrow_1'});
$("div.container-clients_2").scrollable({prev: '#left-arrow_2',next: '#right-arrow_2'});
$("div.container-clients_3").scrollable({prev: '#left-arrow_3',next: '#right-arrow_3'});
$("div.container-clients_4").scrollable({prev: '#left-arrow_4',next: '#right-arrow_4'});


});
