(function($) {
		  
$(document).ready(function(){
						   
						   

// Toggle
$(document).ready(function(){
$("dd").hide();
$("dt a").click(function(){
//$("dd:visible").toggle("slow");
$(this).parent().next().toggle("slow");

return false;
}).next().hide();
});


// SmoothScroll



// Hidding Submit text
$("input.promobtn, input[type=submit]").attr('value','').css({'ountline' : 'none'});


// Fading Img //

//logo

$("ul.logo li").hover(function() { //On hover...

var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'

//Set a background image(thumbOver) on the <a> tag - Set position to bottom
$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});

//Animate the image to 0 opacity (fade it out)
$(this).find("span").stop().fadeTo('normal', 0 , function() {
$(this).hide() //Hide the image after fade
});
} , function() { //on hover out...
//Fade the image to full opacity 
$(this).find("span").stop().fadeTo('normal', 1).show();
});


//logo2
$(document).ready(function() {
$("ul.logo2 li").hover(function() { //On hover...

var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'

//Set a background image(thumbOver) on the <a> tag - Set position to bottom
$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});

//Animate the image to 0 opacity (fade it out)
$(this).find("span").stop().fadeTo('normal', 0 , function() {
$(this).hide() //Hide the image after fade
});
} , function() { //on hover out...
//Fade the image to full opacity 
$(this).find("span").stop().fadeTo('normal', 1).show();
});

});


//CTA's
$("ul.cta1 li, ul.cta2 li").hover(function() { //On hover...

var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'

//Set a background image(thumbOver) on the &lt;a&gt; tag 
$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
//Fade the image to 0 
$(this).find("span").stop().fadeTo('normal', 0 , function() {
$(this).hide() //Hide the image after fade
}); 
} , function() { //on hover out...
//Fade the image to 1 
$(this).find("span").stop().fadeTo('normal', 1).show();
});


//social icons
$("ul.social li").hover(function() { //On hover...

var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'

//Set a background image(thumbOver) on the &lt;a&gt; tag 
$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
//Fade the image to 0 
$(this).find("span").stop().fadeTo('normal', 0 , function() {
$(this).hide() //Hide the image after fade
}); 
} , function() { //on hover out...
//Fade the image to 1 
$(this).find("span").stop().fadeTo('normal', 1).show();
});


//Ad's //
$("ul.rn1 li, ul.rn2 li").hover(function() { //On hover...

var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'

//Set a background image(thumbOver) on the <a> tag - Set position to bottom
$(this).find("a.thumb").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});

//Animate the image to 0 opacity (fade it out)
$(this).find("span").stop().fadeTo('normal', 0 , function() {
$(this).hide() //Hide the image after fade
});
} , function() { //on hover out...
//Fade the image to full opacity 
$(this).find("span").stop().fadeTo('normal', 1).show();
});



//Animating PNG Images //

var i;
for (i in document.images) {
if (document.images[i].src) {
var imgSrc = document.images[i].src;
if (imgSrc.substr(imgSrc.length-4) === '.png' || imgSrc.substr(imgSrc.length-4) === '.PNG') {
document.images[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',sizingMethod='crop',src='" + imgSrc + "')";
}
}
}

						 
	
// End of the Script //
});

})(jQuery);
