jQuery.noConflict();


function init()
{
	jQuery("#logo ul > li:nth-child(1) a").attr("class","rss");
	jQuery("#logo ul > li:nth-child(2) a").attr("class","facebook");
	jQuery("#logo ul > li:nth-child(3) a").attr("class","twitter");
	jQuery("#logo ul > li:nth-child(4) a").attr("class","delicious");
	jQuery("#logo ul > li:nth-child(5) a").attr("class","blog");
	jQuery("#logo ul > li:nth-child(6) a").attr("class","myspace");
	jQuery('.rss').hover(socialRss, out);
	jQuery('.facebook').hover(socialFacebook, out);	
	jQuery('.twitter').hover(socialTwitter, out);	
	jQuery('.delicious').hover(socialDelicious, out);
	jQuery('.blog').hover(socialNewsletter, out);	
	jQuery('.myspace').hover(socialMyspace, out);
	jQuery('#logo').click(home);	
	jQuery(".product .content .gallery ul > li img").click(change);
	jQuery("#search_model > option").click(text);
	Cufon.replace('.col h2');
Cufon.replace('#container .billboard .contentdiv h1');
Cufon.replace('#container .buckets .side h1');	
}  
/////////////////////// Arrow Animate
function clkA(){
      jQuery(".arrow").animate( { top:"35px" }, 300 );
       jQuery("#container .billboard .a").fadeIn("slow");
}
function clkB(){
      jQuery(".arrow").animate( { top:"110px" }, 300 );
      jQuery("#container .billboard .b").fadeIn("slow");
}
function clkC(){
      jQuery(".arrow").animate( { top:"180px" }, 300 );
      jQuery("#container .billboard .c").fadeIn("slow");
}
function clkD(){
      jQuery(".arrow").animate( { top:"245px" }, 300 );
      jQuery("#container .billboard .d").fadeIn("slow");
}
/////////////////////// Social Icon Text
function out(){
      jQuery('#logo small').text('')
}
function socialRss(){
      jQuery('#logo small').text('Rss Feed');
      Cufon.replace('#logo small');
}
function socialFacebook(){
      jQuery('#logo small').text('Facebook');
      Cufon.replace('#logo small');
}
function socialTwitter(){
      jQuery('#logo small').text('Twitter');
      Cufon.replace('#logo small');
}
function socialDelicious(){
      jQuery('#logo small').text('Delicious');
      Cufon.replace('#logo small');
}
function socialNewsletter(){
      jQuery('#logo small').text('Newsletter Signup');
      Cufon.replace('#logo small');
}
function socialMyspace(){
      jQuery('#logo small').text('Login');
      Cufon.replace('#logo small');
}
/////////////////////// Go home
function home(){
      window.location = "/";
}
/////////////////////// Gallery and Selector
function change(){ 
	var view = jQuery(this).attr('src');   
	jQuery('.product .content .gallery img.view').attr("src",view);  
      
}
function text(){ 
	var view = jQuery(this).text();   
	jQuery('#display_option').text(view);   
      
}
jQuery(document).ready(init);