$(document).ready(function()
{
	$('#slide').cycle(
	{ 
	    fx:     'fade', 
	    speed:   1000, 
	    timeout: 5000,  
	    pause:   1 
	});

	if (document.getElementsByTagName)
	{
		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"; 
			}
		}
	}
});

//$(document).ready(function()
//{
//	$('#slide1').cycle(
//	{ 
//	    fx:     'fade', 
//	    speed:   1000, 
//	    timeout: 5000,  
//	    pause:   1 
//	});

//	if (document.getElementsByTagName)
//	{
//		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"; 
//			}
//		}
//	}
//});

//$(document).ready(function()
//{
//	$('#slide2').cycle(
//	{ 
//	    fx:     'fade', 
//	    speed:   1000, 
//	    timeout: 5000,  
//	    pause:   1 
//	});

//	if (document.getElementsByTagName)
//	{
//		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"; 
//			}
//		}
//	}
//});

//$(document).ready(function()
//{
//	$('#slide3').cycle(
//	{ 
//	    fx:     'fade', 
//	    speed:   1000, 
//	    timeout: 5000,  
//	    pause:   1 
//	});

//	if (document.getElementsByTagName)
//	{
//		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"; 
//			}
//		}
//	}
//});