$(document).ready(function () {
//// code here
if($.browser.msie) {
  
  if($.browser.version == '6.0') {
    $('#site-tagline').replaceWith('<img src="includes/templates/neds/images/neds/nav/site-tagline.gif" style="margin-left: 100px;">');
  } else {
    $('#site-tagline').replaceWith('<img src="includes/templates/neds/images/neds/nav/site-tagline.png" style="margin-left: 100px;">');
  }
  
    
}
});

//
//document.write("<style type='text/css'>#thephoto {visibility:hidden;}</style>");
//
//function initImage(photo) {
//	
//
//	imageId = photo;
//	image = document.getElementById(imageId);
//	setOpacity(image, 0);
//	image.style.visibility = "visible";
//	fadeIn(imageId,0);
//	
//	window.setTimeout("fadeOut('"+imageId+"', 100)", 8000);
//
//
//	
//}
//function fadeIn(objId,opacity) {
//	if (document.getElementById) {
//		obj = document.getElementById(objId);
//		if (opacity <= 100) {
//			setOpacity(obj, opacity);
//			opacity += 5;
//			window.setTimeout("fadeIn('"+objId+"',"+opacity+")", 100);
//		}
//	}
//}
//
//function fadeOut(objId,opacity) {
//	if (document.getElementById) {
//		obj = document.getElementById(objId);
//		if (opacity > 10) {
//			setOpacity(obj, opacity);
//			opacity -= 5;
//			window.setTimeout("fadeOut('"+objId+"',"+opacity+")", 100);
//		}
//	}
//}
//function setOpacity(obj, opacity) {
//	opacity = (opacity == 100)?99.999:opacity;
//	// IE/Win
//	obj.style.filter = "alpha(opacity:"+opacity+")";
//	// Safari<1.2, Konqueror
//	obj.style.KHTMLOpacity = opacity/100;
//	// Older Mozilla and Firefox
//	obj.style.MozOpacity = opacity/100;
//	// Safari 1.2, newer Firefox and Mozilla, CSS3
//	obj.style.opacity = opacity/100;
//}
//
//// (C) 2003 CodeLifter.com
//// Free for all users, but leave in this  header
//
//// =======================================
//// set the following variables
//// =======================================
//
//// Set speed (milliseconds)
//var speed = 10000;
//
//// Specify the image files
//var Pic = new Array(); // don't touch this
//// to add more images, just continue
//// the pattern, adding to the array below
//
//Pic[0] = '<?php echo DIR_WS_TEMPLATE ?>/images/neds/home/p1.jpg';
//Pic[1] = '<?php echo DIR_WS_TEMPLATE ?>/images/neds/home/p2.jpg';
//Pic[2] = '<?php echo DIR_WS_TEMPLATE ?>/images/neds/home/p3.jpg';
//Pic[3] = '<?php echo DIR_WS_TEMPLATE ?>/images/neds/home/p4.jpg';
//
//
//// =======================================
//// do not edit anything below this line
//// =======================================
//
//var t;
//var j = 0;
//var p = Pic.length;
//
//var preLoad = new Array()
//for (i = 0; i < p; i++){
//   preLoad[i] = new Image();
//   preLoad[i].src = Pic[i];
//}
//
//function runBGSlideShow(){
//  if ( document.getElementById){
//   image = document.getElementById('thephoto');
//   image.src = Pic[j];
//   initImage('thephoto')
//   j = j + 1
//   if (j > (p-1)) j=0
//   t = setTimeout('runBGSlideShow()', speed);
//  }
//}
//
//

