	var exp = new Date();
	exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 30));
	
	jQuery.noConflict();
		
	function initTab(){
		var tabShow = getCookie("tabShow");
		if(tabShow == 1 || tabShow == 0){
			jQuery(".tabLinkSV").removeClass("activeLinkSV");
			jQuery(".idPhoto").addClass("activeLinkSV");
		}
		else if(tabShow == 2){
			jQuery(".tabLinkSV").removeClass("activeLinkSV");
			jQuery(".idVideo").addClass("activeLinkSV");
		}
		else if(tabShow == 3){
			jQuery(".tabLinkSV").removeClass("activeLinkSV");
			jQuery(".idAudio").addClass("activeLinkSV");
		}
		else{
			jQuery(".tabLinkSV").removeClass("activeLinkSV");
			jQuery(".idDocuments").addClass("activeLinkSV");
		}
 	}
	
	function resetTab(){
		delCookie("tabShow");
		setCookie("tabShow",1,exp);
 	}
	
	function OutTab(idtab){
		jQuery("."+idtab).removeClass("activeLinkSV");
		initTab();
	}
	
	function OverTab(idtab){
		jQuery("."+idtab).addClass("activeLinkSV");
	}

 	function changeTabShow(index){
 		delCookie("tabShow");
 		if(index == "idPhoto")
 			setCookie("tabShow",1,exp);
 		else if(index == "idVideo"){
 			setCookie("tabShow",2,exp);}
 		else if(index == "idAudio"){
 			setCookie("tabShow",3,exp);}
 		else
 			setCookie("tabShow",4,exp);	
 	}