var message="The designs cannot be reproduced in any form without written permission from the artist. Copyright © la Musa. all rights reserved."; 

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false");

function Validate()
{
	a = true;
	if(document.forms['contact-form'].fname.value=='') { a = false; }
	if(document.forms['contact-form'].lname.value=='') { a = false; }
	if(document.forms['contact-form'].phone.value=='') { a = false; }
	if(document.forms['contact-form'].email.value=='') { a = false; }
	if(document.forms['contact-form'].contact.value=='Choose') { a = false; }
	if(document.forms['contact-form'].comments.value=='') { a = false; }
	return a;
}

jQuery(document).ready(function(){
	window.setInterval(function(){
		var img = jQuery('#rotate img');

		for (var i=0;i<img.length;i++)
		{			
			if (jQuery(img[i]).css('display')!='none')
			{
				if (i==img.length-1) 
						jQuery(img[0]).next('img').fadeIn('slow',function(){
							  jQuery(img[i]).fadeOut('slow'); });
					else
						jQuery(img[i]).next('img').fadeIn('slow',function(){
							  jQuery(img[i]).fadeOut('slow'); });		
				return;				
			}
		}
	},4000);	
	/*window.setInterval(function(){
		var img = $('#rotate img');

		for (var i=0;i<img.length;i++)
		{			
			if ($(img[i]).css('display')!='none')
			{
				$(img[i]).fadeOut('slow',function(){
					if (i==img.length-1) 
					$(img[0]).next('img').fadeIn('slow');
					else
					$(img[i]).next('img').fadeIn('slow');
				});
				
				return;				
			}
		}
	},4000);*/
});