var tb_pathToImage = "";
$(document).ready(function(){
 
 //ScrollImgTop();
 $(".tab-div ul li").each(function(index,domEle){
   $(domEle).mouseover(function(){
    tabDefault();
	$(this).addClass("mo");
	contentDefault();
	$("#content-"+(index+1)).css("display","block");
   });
  }); 
 
 function tabDefault(){
  $(".tab-div ul li").each(function(index,domEle){
   $(domEle).removeClass("mo");
   $(domEle).addClass("mu");
  });
 }
 function contentDefault(){
  $(".tab-div-2>div").each(function(index,domEle){
   $(domEle).css("display","none");
  });
 }

 
 /* thickbox */
    tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
	imgLoader = new Image();// preload image
	imgLoader.src = tb_pathToImage;
 /* personal_index.html*/
 $('#occu').click(function(){
		$(this).css('background','');
		$('#indu').css('background','url(images/job_9.gif)');
		$('#industry').removeClass('visible').addClass('hidden');
		$('#occupation').removeClass('hidden').addClass('visible');
	});
	$('#indu').click(function(){
		$(this).css('background','');
		$('#occu').css('background','url(images/job_9.gif)');
		$('#occupation').removeClass('visible').addClass('hidden');
		$('#industry').removeClass('hidden').addClass('visible');
	});
	/* 
 function ScrollImgTop(){
var speed=30;
var scroll_begin = document.getElementById("scroll_begin");
var scroll_end = document.getElementById("scroll_end");
var scroll_div = document.getElementById("scroll_div");
scroll_end.innerHTML=scroll_begin.innerHTML;
function Marquee(){//alert(scroll_end.offsetWidth);
    if(scroll_end.offsetHeight-scroll_div.scrollTop<=0)
      scroll_div.scrollTop-=scroll_begin.offsetHeight;
    else
      scroll_div.scrollTop++;
}
var MyMar=setInterval(Marquee,speed);
scroll_div.onmouseover=function() {clearInterval(MyMar)}
scroll_div.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
}
*/
});



