﻿$(document).ready(function(){$("#googleAd1").hide();$(".tab_content").hide();$("#"+hgTab1).addClass("active").show();$("#tabs_"+hgTab1).show();$("#"+hgTab2).addClass("active").show();$("#tabs_"+hgTab2).show();attachClickEvent("#tabsCaption1 li","#tab_container1");attachClickEvent("#tabsCaption2 li","#tab_container2");$("#googleAd1").show()});function attachClickEvent(a,b){$(a).click(function(){$(a).removeClass("active");$(this).addClass("active");$(b+" .tab_content").hide();var c=$(this).find("a").attr("href");$(c).fadeIn();return false})}function getOptions(b){var a={};if(b=="scale")a={percent:0};else if(b=="transfer")a={to:"#button",className:"ui-effects-transfer"};else if(b=="size")a={to:{width:200,height:60}};return a}