//var jQuery = jQuery.noConflict();
jQuery(document).ready(function(){

	jQuery(".tip").tipTip();

	// SlideBanner300Controller shows
	jQuery("ul#SlideB300Cont").css("position","relative");
	var SBCindex = jQuery("ul#SlideB300Cont > li").length
	if ( SBCindex > 3 ){
		jQuery("ul#SlideB300Cont").css("position","absolute");
	}
/*
	jQuery("div.popup").css("display","none");
	jQuery(".layer1on").click(function(){				
		jQuery("div#layer1").css( { display: "block", opacity: "0"});  	
		if (jQuery.browser.msie) {
				jQuery("#wrap").animate( { 
						opacity: "0"
						}, 500 );     		
				setTimeout( function(){
					jQuery("#wrap").css( { display: "none", opacity: "0"});  
				}, 100);				
				setTimeout( function(){
					jQuery("div#layer1").animate( { 
							opacity: "1"
							}, 600 );
				}, 300);
		 }else {
				jQuery("#wrap").animate( { 
						opacity: "0.2"
						}, 500 );     		
				setTimeout( function(){
					jQuery("div#layer1").animate( { 
							opacity: "1"
							}, 600 );
				}, 300);
		};

	});
*/
/*
	jQuery(".layer2on").click(function(){				
		jQuery("div#layer2").css( { display: "block", opacity: "0"});  	
		if (jQuery.browser.msie) {
				jQuery("#wrap").animate( { 
						opacity: "0"
						}, 500 );     		
				setTimeout( function(){
					jQuery("#wrap").css( { display: "none", opacity: "0"});  
				}, 100);				
				setTimeout( function(){
					jQuery("div#layer2").animate( { 
							opacity: "1"
							}, 600 );
				}, 300);
		 }else {
				jQuery("#wrap").animate( { 
						opacity: "0.2"
						}, 500 );     		
				setTimeout( function(){
					jQuery("div#layer2").animate( { 
							opacity: "1"
							}, 600 );
				}, 300);
		};
	});
*/
/*
	jQuery("div.popup span.close").css("opacity",".5");
    jQuery("div.popup span.close").hover(function(){
    	jQuery(this).stop().animate({
    		opacity: "1"
    	}, 300);
    }, function() {
    	jQuery(this).stop().animate({
    		opacity: ".5"
    	}, 300);
    });
	jQuery("div.popup span.close").click(function(){
		jQuery(this).parent().animate( { 
				opacity: "0"
				}, 500 );     				
		setTimeout( function(){
			if (jQuery.browser.msie) {
				jQuery("#wrap").css( { display: "block", opacity: "0"});  
			} else {
				jQuery("#wrap").css( { display: "block", opacity: "0.2"});  
			};
			jQuery("div#wrap").animate( { 
					opacity: "1"
					}, 600 );
		}, 300);
		jQuery(this).parent().css("display","none"); 
	});
*/
/*
    jQuery("div#mycar").hover(function(){
    	jQuery("div#mycar ul#myController").stop().animate({
    		opacity: "1"
    	}, 600);
    }, function() {
    	jQuery("div#mycar ul#myController").stop().animate({
    		opacity: "0"
    	}, 600);
    });

*/


/*
    jQuery("div#rightbar a, div#head a, div.cell a").click(function(){
    	jQuery("div#pagetitle, div#hull").stop().animate({
    		opacity: ".2"
    	}, 200);
    });
*/
});
