<!-- Begin
//	Break out of any framed websites
if(window != top) top.location.href = location.href;

//	Alternative to the jQuery method below
//	Load links in a external window that validates with W3C
//	Also degrades nicely if javascript disabled
function externalLinks() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank";
	}
}
window.onload = externalLinks;

//	Mask email
function replace(end,middle,start,subject){
	var one = 'mai';
	var two = 'lto:';
	var three = '?Subject=';
	var putogether = one + two + start + middle + end + three + subject;
	document.location.href = eval('"'+putogether+'"');
	window.status = putogether;
}

//	jQuery functions
$(document).ready(function(){
	//	Load links in a external window that validates with W3C
	$('a.external').attr('target', '_blank');

	//	Curvy corners
	rbsettings = {
		tl: { radius: 40 },
		tr: { radius: 40 },
		bl: { radius: 40 },
		br: { radius: 40 },
		antiAlias: true,
		autoPad: true,
		validTags: ["div"]
	}
	$('.rc').corner(rbsettings);

	//	Change opacity with mouseover & mouseout
	$('#fixed').css({opacity: 0.3});
	$("#fixed").mouseover (function(){$('#fixed').css({opacity: 0.85});})
	$("#fixed").mouseout (function(){$('#fixed').css({opacity: 0.3});})
});
// End -->