window.name = "Latrasol"



// Copyright alert function
function copyright ()
{
	var dt = new Date()
	
	//alert('Copyright © 2001 - ' + dt.getFullYear() + ' Latin Trade Solutions. All rights reserved.\nAll materials contained on this site are protected by United States copyright law and may not be reproduced, distributed, transmitted, displayed, published or broadcast without the prior written permission of Latin Trade Solutions. You may not alter or remove any trademark, copyright or other notice from copies of the content.\n\nFor information on reprinting material from this website, please contact Latin Trade Solutions.');
	alert('Copyright © 2001 - ' + dt.getFullYear() + ' Latin Trade Solutions. All rights reserved.\nAll materials contained on this site are protected by United States copyright law and may not be reproduced, distributed, transmitted, displayed, published or broadcast without the prior written permission of Latin Trade Solutions. You may not alter or remove any trademark, copyright or other notice from copies of the content.\n\nFor information on reprinting material from this website, please contact Latin Trade Solutions.');
	event.returnValue=false;
}

// Disable ctrl-c and ctrl-a in non-IE browsers
	var message = "Copyright © 2001 - ' + dt.getFullYear() + ' Latin Trade Solutions. All rights reserved.\nAll materials contained on this site are protected by United States copyright law and may not be reproduced, distributed, transmitted, displayed, published or broadcast without the prior written permission of Latin Trade Solutions. You may not alter or remove any trademark, copyright or other notice from copies of the content.\n\nFor information on reprinting material from this website, please contact Latin Trade Solutions.";

//	if (!document.all){
//	document.oncontextmenu=new Function("alert(message);return false");
//	document.onselectstart=new Function("alert(message);return false");
//	}

//document.ondragstart=new Function("alert(message);return false");
	
// Disable ctrl-c and ctrl-a in non-IE browsers
document.onkeypress = function (evt) {
  var r = '';
  var ctrl = 0;
  
  if (document.getElementById && (!document.all)) {
    ctrl = evt.ctrlKey;
    r = String.fromCharCode(evt.which).toUpperCase();
  }
  else if (document.layers) {
    ctrl = Event.CONTROL_MASK;
    r = String.fromCharCode(evt.which).toUpperCase();
  }
  
  if (ctrl){
  	if (r=='A'||r=='C'){
		alert(message);
		return false;
		}
	}
}
