﻿//开始Tabs	
$(function(){
$('#maintab').tabs({ fx: { opacity: 'toggle' } }).tabs('rotate', 8000);
});

$(function(){
		$("#tabs").tabs({
			event: 'mouseover'
		});
});


//为Quick View部分应用Thickbox调用

$(document).ready(function(){						   		
						   		/*
								$("#quickViewSW ul a").each(function(){
																	 if($(this).parent().parent().parent().parent().attr('id')!="homepage_quickview_video"){
																		 if($(this).parent().parent().parent().parent().attr('id')=="homepage_quickview_news"||$(this).parent().parent().parent().parent().attr('id')=="homepage_quickview_home"){
																	 $(this).attr("href",$(this).attr("href")+"&&KeepThis=true&TB_iframe=true&height=550&width=750");}
																	 else {
																		$(this).attr("href",$(this).attr("href")+"?KeepThis=true&TB_iframe=true&height=550&width=750"); 
																	 }
																	  $(this).addClass("thickbox");
																	 }
																	 }
																	 );		
								*/
								$(".hide").show("normal");
						   }
						   );

//NAV载入
$.getScript("/dev/jquery_plugins/thickbox.js",function(){$("#navSW").load(
					"/dev/ajax/navmodule.html",
					function(){
						this;
						$.getScript("/dev/jquery_plugins/Chevron/global.js");						
					}
					);
});

//异步载入其他JS脚本
$.getScript("/dev/somejq.js");

//这Quick View 的更多添加事件，使其前面节点（UL）的CSS发生动态变化
/*$("#quickViewSW .text-right").each(function(){$(this).hover(
											  function(){
												  $(this).find("ul").animate({"height": "180px"}, "normal");												 
												  $('#maintab').tabs({ fx: { opacity: 'toggle' } }).tabs('rotate', false);	
												  },
												  function(){
												  $(this).find("ul").animate({"height": "90px"}, "normal");
												  $('#maintab').tabs({ fx: { opacity: 'toggle' } }).tabs('rotate', 7000);
													  }
											  );});
;
;
;
;*/
