jQuery.noConflict();

jQuery(document).ready(function() {

jQuery(".right-image-container .rotator_img .all_img").eq(0).css({display:"block"});

if(time != 0){
		actNextCustom = setTimeout(nextCustom,10000);
	}

});


//START HOME´S ROTATOR...
//Define Global vars for nextView
a = 0;
time = 10000;
custom = '.right-image-container .rotator_img .all_img';
var actNextCustom;
//End Define Global vars for nextview

function nextCustom()
{
    var amountCustom = jQuery(custom).length;
    if(amountCustom > a+1)//amount > that number order (i+1) of .content
							{
									jQuery(custom).eq(a).fadeOut(100);

                                    jQuery(custom).eq(a+1).fadeIn(500);

									a++;
									clearTimeout(actNextCustom);
							}
							else
							{
									jQuery(custom).eq(a).fadeOut(100);

                                    jQuery(custom).eq(0).fadeIn(500);
                                    
									a = 0;
									clearTimeout(actNextCustom);
							}
							
	//jQuery('.main .home .up ul li a').removeClass('bg_down');
	
	//jQuery('#link_'+a).addClass('bg_down');
  	
	if(time != 0) actNextCustom = setTimeout(nextCustom,time);
}

//END HOME´S ROTATOR...






/*---Home Password's Function---*/

function introPass(){			
		jQuery('.view_enter_pass').css('display','none');
		jQuery('#password.pass_text').css('display','block').focus();
}


function outPass(){
		if(jQuery('#password.pass_text').attr('value') == ''){
		jQuery('#password.pass_text').css('display','none');
		jQuery('.view_enter_pass').css('display','block');		
		}	
}

/*---End Home Password's Function---*/

