if (window.top != window) {window.top.location.href = document.location.href;}
$(document).ready(function(){
$("#news_type_2").click(function(){
  $('#news_type_2').addClass('index');$('#news_type_1').removeClass();$('#news_type_S_2').show();$('#news_type_S_1').hide();
  $('#news_type_more').attr('href','http://inccms.com/?falist.html');
 });
$("#news_type_1").click(function(){
  $('#news_type_1').addClass('index');$('#news_type_2').removeClass();$('#news_type_S_1').show();$('#news_type_S_2').hide();
  $('#news_type_more').attr('href','http://inccms.com/?gclist.html');
 }); 
$("#F_type_1").click(function(){
  $('#F_type_1').addClass('index');$('#F_type_2').removeClass();$('#F_type_3').removeClass();
  $('#F_link_1').show();$('#F_link_2').hide();$('#F_link_3').hide();
 }); 
$("#F_type_2").click(function(){
  $('#F_type_2').addClass('index');$('#F_type_1').removeClass();$('#F_type_3').removeClass();
  $('#F_link_2').show();$('#F_link_1').hide();$('#F_link_3').hide();
 }); 
$("#F_type_3").click(function(){
  $('#F_type_3').addClass('index');$('#F_type_1').removeClass();$('#F_type_2').removeClass();
  $('#F_link_3').show();$('#F_link_1').hide();$('#F_link_2').hide();
 }); 
$("#index_Con_1").click(function(){
  
  $('#index_Con_1').addClass('index');$('#index_Con_2').removeClass();$('#index_Con_left_1_2_1').show();$('#index_Con_left_1_2_2').hide();
 });  
$("#index_Con_2").click(function(){
  $('#index_Con_2').addClass('index');$('#index_Con_1').removeClass();
  $('#index_Con_left_1_2_2').show();$('#index_Con_left_1_2_1').hide();
 }); 
$('.jquery_to').each(function(){
   $(this).mouseover(function(){
	   var jqueryid=$(this).attr('id');
	   var jqueryimg = $("#"+jqueryid+"_img").text();
	   var jquerytext = $("#"+jqueryid+"_t").html();
	   $('#index_Con_1').addClass('index');$('#index_Con_2').removeClass();$('#index_Con_left_1_2_1').show();$('#index_Con_left_1_2_2').hide();
	   document.getElementById("incpic").src=jqueryimg;
	   $("#webinc").html(jquerytext);
   });});
});

function chkSh(fm){
  if(fm.key.value==''||fm.key.value=='--请输入关键字--'){alert('对不起，请输入关键字!');fm.key.focus();return false}
  if(/[%|'|"|\\|\/]/.test(fm.key.value)){alert('对不起，关键字中含有非法字符!');fm.key.focus();fm.key.select();return false;}
  document.location.href=fm.shPage.value+'&key='+escape(fm.key.value);return false;}
