
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - jq_start.js - */
// http://www.asean.or.jp/portal_javascripts/jq_start.js?original=1
var $=jQuery.noConflict();

/* - aw_script.js - */
// http://www.asean.or.jp/portal_javascripts/aw_script.js?original=1
(function(){var heighttemp=0;var heightpixel=950;var tourismfooter="<div class=\"tourismfooter pagebreak\"><p>Copyright(C) ASEAN Promotion Centre on Trade, Investment and Tourism. All Rights Reserved.</p></div>";var printpagemessage="<div class=\"printhidden\"><p>ページ数が多くなるためページ枚数を「印刷プレビュー」でご確認のうえ、このページを印刷してください。ガイドブックとしてご利用いただけます。</p></div>";$(function(){if($("base[href*='/tourism/guide/']").size()>0){$("body").addClass("tourismGuide");$("#top").addClass("printhidden");$("#header").addClass("printhidden");$("#footer").addClass("printhidden");if($("#contents > div > div > #parent-fieldname-text").size()>0){$("#contents > h1").addClass("printhidden").after(printpagemessage);$("div.toTop").hide();$("#contents > div > div:has(h1 > span:contains('おもな見所'))").hide().addClass("printhidden");$("#main-area-left").insertBefore("#portal-columns");$("portal-columns").hide()}
$("#contents > h1, #contents > div > div > h1").each(function(){if($(this).next().next(":has(h1)").size()>0){return true}
heighttemp=this.offsetHeight+parseInt($(this).css("margin-bottom").replace("px",""));$(this).parent().append(tourismfooter).find("#parent-fieldname-text > *").each(function(){if($(this).is("dl")){$(this).find("dt").each(function(){heighttemp+=this.offsetHeight+$(this).next().height()+parseInt($(this).css("margin-bottom").replace("px",""))+parseInt($(this).next().css("margin-bottom").replace("px",""));if(heighttemp>heightpixel){heighttemp=this.offsetHeight+$(this).next().height()+parseInt($(this).css("margin-bottom").replace("px",""))+parseInt($(this).next().css("margin-bottom").replace("px",""));$(this).before(tourismfooter)}})} else{heighttemp+=this.offsetHeight+parseInt($(this).css("margin-bottom").replace("px",""));if(heighttemp>heightpixel){heighttemp=this.offsetHeight+parseInt($(this).css("margin-bottom").replace("px",""));$(this).before(tourismfooter)}}})});$("div.pagebreak:last").removeClass("pagebreak")}});$(function(){if(($("base[href*='/ja/tourism/trip/fun/festival']").size()>0)||(($("base[href*='/ja/asean/know/country/']").size()>0)&&($("base[href*='/tourism/event']").size()>0))){$("div.columnbox:not(:last)").addClass("borderline")}});$(function(){if($("base[href*='/ja/link']").size()>0){$("#contents").addClass("link_page")}});$(function(){$("ul#portal-sitemap > li").addClass("sitemapblock");$("ul#portal-sitemap > li:eq(1)").css("margin-left","20px");$("ul#portal-sitemap > li:eq(3)").css("margin-left","20px");$("ul#portal-sitemap > li:gt(4)").css("margin-left","20px");$("ul#portal-sitemap > li:eq(0)").attr("id","sitemap_ajc");$("ul#portal-sitemap > li:eq(1)").attr("id","sitemap_asean");$("ul#portal-sitemap > li:eq(2)").attr("id","sitemap_trade");$("ul#portal-sitemap > li:eq(3)").attr("id","sitemap_invest");$("ul#portal-sitemap > li:eq(4)").attr("id","sitemap_tourism")});$(function(){if($("base[href*='/ja/form/center']").size()>0){$("#contents").addClass("categorycolor_ajc")}
if($("base[href*='/ja/form/trade']").size()>0){$("#contents").addClass("categorycolor_trade")}
if($("base[href*='/ja/form/invest']").size()>0){$("#contents").addClass("categorycolor_invest")}
if($("base[href*='/ja/form/tourism']").size()>0){$("#contents").addClass("categorycolor_tourism")}});$(function(){if($("base[href*='/ja/tourism/trip/fun/wldheritage']").size()>0){var image_cache=new Object();$("ul.countryFlagSmall li").each(function(){var imgname=$(this).find("a").attr("href").split("#")[1];var imgsrc_on="img/country_"+$(this).find("a").attr("href").split("#")[1]+".gif";image_cache[imgname]=new Image();image_cache[imgname].src=imgsrc_on;$(this).hover(
function(){$(this).parents(".columnbox").find(".columnboxRight190Left img")[0].src=imgsrc_on},
function(){$(this).parents(".columnbox").find(".columnboxRight190Left img")[0].src="img/country.gif"})})}});$(function(){$(".panelTab").click(function(){window.location.href=$(this).find("a").attr("href")})});$(function(){if($("base[href*='/ja/ajc/about/event_hall/']").size()>0){$("table.table").each(function(){$(this).find("th").css("width","25%");$(this).find("td:eq(1)").css("width","10%")})}});$(function(){if($("#topBannerList").size()>0){timerID=setInterval("changeTopBanner()",5000)}});$(function(){setRollOver();setFontSizeChanger('#contents');$($.cookie('fontsize')).click()});$(function(){$('dl.qanda > dd').hide();$('dl.qanda > dt').click(function(){$(this).next().slideToggle('fast')})});$(function(){columnset()});$(function(){var tabIDs=['homeNavi'];setTabPanels(tabIDs);setCountryBg()});
function columnset(){var sets=[],temp=[];$('li.sitemapblock:lt(4)').each(function(i){temp.push(this);if(i%2==1){sets.push(temp);temp=[]}});if(temp.length) sets.push(temp);temp=[];$('div.columnbox:has(div.columnbox50)').each(function(){$('div.columnbox50',this).each(function(i){temp.push(this);if(i%2==1){sets.push(temp);temp=[]}});if(temp.length) sets.push(temp);temp=[]});$('div.columnbox > div.columnbox33').each(function(i){temp.push(this);if(i%3==2){sets.push(temp);temp=[]}});if(temp.length) sets.push(temp);temp=[];$('div.columnbox > div.columnbox20').each(function(i){temp.push(this);if(i%5==4){sets.push(temp);temp=[]}});if(temp.length) sets.push(temp);$.each(sets, function(){$(this).flatHeights()})}
var preload=[];
function setRollOver(){var imgs=document.images;if(!imgs){return}
for(var i=0;i<imgs.length;i++){setRolloverHandler(imgs[i])}}
function setRolloverHandler(ele){var splitname=ele.src.split('_rollout.');if(splitname[1]){ele.src_rollout=ele.src;ele.src_rollover=splitname[0]+'_rollover.'+splitname[1];$(ele).hover(function(){this.src=this.src_rollover},
function(){this.src=this.src_rollout});var l=preload.length;preload[l]=new Image();preload[l].src=ele.src_rollover}}
function setFontSizeChanger(target){$('#header-fontsize').css("visibility","visible");$("#fontsize-large").click(function(){$(target).css("font-size","130%");$('#header-fontsize').attr("class","fontLarge");$.cookie('fontsize','#fontsize-large',{expires:30,path:'/'})});$("#fontsize-medium").click(function(){$(target).css("font-size","100%");$('#header-fontsize').attr("class","fontMedium");$.cookie('fontsize','#fontsize-medium',{expires:30,path:'/'})});$("#fontsize-small").click(function(){$(target).css("font-size","80%");$('#header-fontsize').attr("class","fontSmall");$.cookie('fontsize','#fontsize-small',{expires:30,path:'/'})})}})();var topBannerTempNum="";var topBannerNum="x"
function changeTopBanner(){if($("#topBannerList").size()>0){topBannerTempNum=Math.floor(Math.random() * $("#topBannerList input").length);if(topBannerNum!="x"){topBannerNum=(topBannerTempNum==topBannerNum)?(topBannerTempNum-1<0)?$("#topBannerList input").length-1:topBannerTempNum-1:topBannerTempNum;$("#tourism #category-title .image img").ImageSwitch({Type:"FlyIn",NewImage:$("#topBannerList input").eq(topBannerNum).val(),Direction:"DownTop"})} else{topBannerNum=topBannerTempNum;document.write("<img src='"+$("#topBannerList input").eq(topBannerNum).val()+"'  alt='' width='548' height='188' />")}}}
var publicTabNo=0;
function getTabNo(){return publicTabNo}
function addEvent(eventTarget,eventName,func){if(eventTarget.addEventListener){eventTarget.addEventListener(eventName,func,false)}else if(window.attachEvent){eventTarget.attachEvent('on'+eventName, function(){func.apply(eventTarget)})}}
function setCountryBg(){var bgPanel=document.getElementById('panelContent03');if(!bgPanel)return;var allLinks=bgPanel.getElementsByTagName('a');if(!allLinks)return;for(var i=0;i<allLinks.length;i++){var link=allLinks[i];addEvent(link,'mouseover',onMouseoverHandler)}
function onMouseoverHandler(){var countryId=this.parentNode.id;if(!countryId)return;removeCountryClassName();addCountryClassName();
function addCountryClassName(){bgPanel.className+=' '+countryId}
function removeCountryClassName(){bgPanel.className=bgPanel.className.replace(/\s?country_\w+?\b/,'')}}}
function setTabPanels(tabIDs){for(var i=0;i<tabIDs.length;i++){setTabPanel(tabIDs[i])}}
function setTabPanel(tabID){var tabPanel=document.getElementById(tabID);if(!tabPanel)return;var allEles=tabPanel.getElementsByTagName('*');var tabs=[];var contents=[];var tabCounter=0;var contentCounter=0;for(var i=0;i<allEles.length;i++){var ele=allEles[i];if(ele.className.match(/\bpanelTab\b/)){ele['tabNo']=tabCounter;ele['tabPanel']=tabPanel;if(ele.className.match(/\bpanelTabOn\b/)){if(tabPanel.currentActiveNo==undefined){tabPanel['currentActiveNo']=tabCounter}else{ele.className=ele.className.replace(/\bpanelTabOn\b/,'panelTabOff')}}else if(!ele.className.match(/\bpanelTabOff\b/)){ele.className+=' panelTabOff'}
tabCounter++;tabs.push(ele);addEvent(ele,'mouseover',onClickHandler)}else if(ele.className.match(/\bpanelContent\b/)){ele['contentCounter']=contentCounter;contentCounter++;contents.push(ele);if(ele.className.match(/\bactive\b/)){ele.className=ele.className.replace(/\bactive\b/,'inactive')}else if(!ele.className.match(/\binactive\b/)){ele.className+=' inactive'}}}
if(!tabs)return;if(tabs.length!=contents.length)return;if(tabPanel.currentActiveNo==undefined){tabs[0].className=tabs[0].className.replace(/\bpanelTabOff\b/,'panelTabOn');tabPanel['currentActiveNo']=0}
var content=contents[tabPanel.currentActiveNo];content.className=content.className.replace(/\binactive\b/,'active');tabPanel.className='tab'+(tabPanel.currentActiveNo+1)+'selected';
function onClickHandler(){if(this.tabNo==this.tabPanel.currentActiveNo)return;var currentActiveTab=tabs[this.tabPanel.currentActiveNo];var currentActiveContent=contents[this.tabPanel.currentActiveNo];currentActiveTab.className=currentActiveTab.className.replace(/\bpanelTabOn\b/,'panelTabOff');currentActiveContent.className=currentActiveContent.className.replace(/\bactive\b/,'inactive');var nextActiveContent=contents[this.tabNo];this.className=this.className.replace(/\bpanelTabOff\b/,'panelTabOn');nextActiveContent.className=nextActiveContent.className.replace(/\binactive\b/,'active');this.tabPanel.currentActiveNo=this.tabNo;this.tabPanel.className='tab'+(this.tabNo+1)+'selected';publicTabNo=this.tabNo+1}}
jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options=$.extend({},options);options.expires=-1}
var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires * 24 * 60 * 60 * 1000))} else{date=options.expires}
expires='; expires='+date.toUTCString()}
var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('')} else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}}
return cookieValue}};jQuery.changeLetterSize={handlers:[],interval:1000,currentSize:0};(function($){var self=$.changeLetterSize;var ins=$('<ins>M</ins>').css({display:'block',visibility:'hidden',position:'absolute',padding:'0',top:'0'});var isChanged=function(){ins.appendTo('#contents');var size=ins[0].offsetHeight;ins.remove();if(self.currentSize==size) return false;self.currentSize=size;return true};$(isChanged);var observer=function(){if(!isChanged()) return;$.each(self.handlers, function(i,handler){handler()})};self.addHandler=function(func){self.handlers.push(func);if(self.handlers.length==1){setInterval(observer,self.interval)}}})(jQuery);(function($){var sets=[];var flatHeights=function(set){var maxHeight=0;set.each(function(){var height=this.offsetHeight;if(height>maxHeight) maxHeight=height});set.css('height',maxHeight+'px')};jQuery.fn.flatHeights=function(){if(this.length>1){flatHeights(this);sets.push(this)}
return this};$.changeLetterSize.addHandler(function(){$.each(sets, function(){this.height('auto');flatHeights(this)})})})(jQuery);if(typeof deconcept=="undefined"){var deconcept=new Object()}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return}
this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1)}
if(id){this.setAttribute("id",id)}
if(w){this.setAttribute("width",w)}
if(h){this.setAttribute("height",h)}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")))}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(c){this.addParam("bgcolor",c)}
var q=_8?_8:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",_7);this.setAttribute("doExpressInstall",false);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a)}};deconcept.SWFObject.prototype={setAttribute:function(_e,_f){this.attributes[_e]=_f},getAttribute:function(_10){return this.attributes[_10]},addParam:function(_11,_12){this.params[_11]=_12},getParams:function(){return this.params},addVariable:function(_13,_14){this.variables[_13]=_14},getVariable:function(_15){return this.variables[_15]},getVariables:function(){return this.variables},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16.push(key+"="+_18[key])}
return _16},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" "}
var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\""}_19+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />"}
var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />"}_19+="</object>"}
return _19},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}
return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always"}
catch(e){if(_23.major==6){return _23}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","))}}
return _23};deconcept.PlayerVersion=function(_27){this.major=_27[0]!=null?parseInt(_27[0]):0;this.minor=_27[1]!=null?parseInt(_27[1]):0;this.rev=_27[2]!=null?parseInt(_27[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false}
if(this.major>fv.major){return true}
if(this.minor<fv.minor){return false}
if(this.minor>fv.minor){return true}
if(this.rev<fv.rev){return false}return true};deconcept.util={getRequestParameter:function(_29){var q=document.location.search||document.location.hash;if(q){var _2b=q.substring(1).split("&");for(var i=0;i<_2b.length;i++){if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){return _2b[i].substring((_2b[i].indexOf("=")+1))}}}
return ""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return}
var _2d=document.getElementsByTagName("OBJECT");for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){}}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var _30=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();_30()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload()}}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload}
if(Array.prototype.push==null){Array.prototype.push=function(_31){this[this.length]=_31;return this.length}}
var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var Debug=function(mess,line){if(!$("#Debug")){$("body").append("<div id='Debug'></div>")}
if(line){$("#Debug").html($("#Debug").html()+"<br/>"+mess)}
else{$("#Debug").html($("#Debug").html()+mess)}};(function($){$.fn.ImageSwitch=function(Arguements,FuntionHandle){var defaults={Type:"FadeIn",NewImage:"",EffectOriginal:true,Speed:1000,StartLeft:50,StartTop:0,StartOpacity:0,EndLeft:-50,EndTop:0,EndOpacity:0,Direction:"RightLeft",Door1:"",Door2:""};var Args=$.extend(defaults,Arguements);var Obj=this;var EffectID=0;var EffectImageId;var EffectDivId1;var EffectDivId2;var EndFunction=function(){Obj.data("imageswitch",-1)};if($.isFunction(FuntionHandle)){EndFunction=function(){FuntionHandle();Obj.data("imageswitch",-1)}}
var FadeImage=function(){Obj.parent().append("<img class='GrpEffectImg' id='"+EffectImageId.replace("#","")+"'/>");$(EffectImageId).attr("src",Obj.attr("src"));$(EffectImageId).css("position","absolute");$(EffectImageId).css("top",Obj.position().top);$(EffectImageId).css("left",Obj.position().left);$(EffectImageId).css("opacity",1);Obj.attr("src",Args.NewImage);if(Args.EffectOriginal){Obj.css("opacity",Args.StartOpacity);Obj.animate({"opacity":1},Args.Speed)}
$(EffectImageId).animate({"opacity":0},Args.Speed, function(){$(EffectImageId).remove();EndFunction()})};var Fly=function(FlyIn){$("#category-title").append("<img class='GrpEffectImg' id='"+EffectImageId.replace("#","")+"'/>");$(EffectImageId).css("position","absolute");if(FlyIn){$(EffectImageId).attr("src",Args.NewImage);$(EffectImageId).css("top",0);$(EffectImageId).css("left",Obj.offset().left+Args.StartLeft);$(EffectImageId).css("opacity",Args.StartOpacity);EndTop=0;EndLeft=402;EndOpacity=1}
$(EffectImageId).animate({"opacity":EndOpacity,"top":EndTop,"left":EndLeft},Args.Speed,
function(){Obj.attr("src",Args.NewImage);$(EffectImageId).remove();EndFunction()})};return this.each(function(){Obj=$(this);if(!Obj.ImageAnimating()){EffectID=$.data(Obj);Obj.data("imageswitch",EffectID);EffectImageId="#GrpEffectImg-"+EffectID;EffectDivId1="#GrpEffectDiv1-"+EffectID;EffectDivId2="#GrpEffectDiv2-"+EffectID;var TempImg=new Image();TempImg.src=Args.NewImage;$.ImagePreload(Args.NewImage,function(){switch(Args.Type){case "FadeIn":FadeImage();break;case "FlyIn":Fly(true);break;case "FlyOut":Fly(false);break;case "FlipIn":Flip(true);break;case "FlipOut":Flip(false);break;case "ScrollIn":Scroll(true);break;case "ScrollOut":Scroll(false);break;case "SingleDoor":SingleDoor();break;case "DoubleDoor":DoubleDoor();break}})}})}})(jQuery);(function($){$.fn.ImageAnimating=function(){if(this.data("imageswitch")>0){return true}else{return false}}})(jQuery);(function($){$.fn.ImageStop=function(clearQueue,gotoEnd,EndFunction){return this.each(function(){if($(this).ImageAnimating()){var EffectID=$.data(this,"imageswitch");$("#GrpEffectImg-"+EffectID).stop(clearQueue,gotoEnd);$("#GrpEffectDiv-"+EffectID).stop(clearQueue,gotoEnd);$("#GrpEffectDiv1-"+EffectID).stop(clearQueue,gotoEnd);$(this).stop(clearQueue,gotoEnd);$("#GrpEffectImg-"+EffectID).remove();$("#GrpEffectDiv-"+EffectID).remove();$("#GrpEffectDiv1-"+EffectID).remove();if($.isFunction(EndFunction)){EndFunction()}}})}})(jQuery);(function($){$.ImageStopAll=function(clearQueue,gotoEnd,EndFunction){$(".GrpEffectImg").stop(clearQueue,gotoEnd);$(".GrpEffectDiv").stop(clearQueue,gotoEnd);$(".GrpEffectDiv1").stop(clearQueue,gotoEnd);$(this).stop(clearQueue,gotoEnd);$(".GrpEffectImg").remove();$(".GrpEffectDiv").remove();$(".GrpEffectDiv1").remove();$.data(this,"imageswitch",-1);if($.isFunction(EndFunction)){EndFunction()}}})(jQuery);(function($){$.ImagePreload=function(FileName,EndFunction){var TempImage=new Image();TempImage.src=FileName;if($.isFunction(EndFunction)){$(TempImage).load(EndFunction())}}})(jQuery);if(typeof IEPNGFIX=='undefined'){var IEPNGFIX={blank:'http://www.isella.com/aod2/images/blank.gif',filter:'DXImageTransform.Microsoft.AlphaImageLoader',fixit: function(elem,src,method){if(elem.filters[this.filter]){var filter=elem.filters[this.filter];filter.enabled=true;filter.src=src;filter.sizingMethod=method}
else{elem.style.filter='progid:'+this.filter+'(src="'+src+'",sizingMethod="'+method+'")'}},fixwidth: function(elem){if(elem.currentStyle.width=='auto'&&elem.currentStyle.height=='auto'){elem.style.width=elem.offsetWidth+'px'}},fixchild: function(elem,recursive){if(!/MSIE (5\.5|6\.|7\.)/.test(navigator.userAgent)) return;for(var i=0,n=elem.childNodes.length;i<n;i++){var childNode=elem.childNodes[i];if(childNode.style){if(childNode.style.position){childNode.style.position=childNode.style.position}
else{childNode.style.position='relative'}}
if(recursive&&childNode.hasChildNodes()){this.fixchild(childNode,recursive)}}},fix: function(elem){if(!/MSIE (5\.5|6\.|7\.)/.test(navigator.userAgent)) return;var bgImg=elem.currentStyle.backgroundImage||elem.style.backgroundImage;if(elem.tagName=='IMG'){if((/\.png$/i).test(elem.src)){this.fixwidth(elem);this.fixit(elem,elem.src,'scale');elem.src=this.blank;elem.runtimeStyle.behavior='none'}}
else if(bgImg&&bgImg!='none'){if(bgImg.match(/^url[("']+(.*\.png)[)"']+$/i)){var s=RegExp.$1;this.fixwidth(elem);elem.style.backgroundImage='none';this.fixit(elem,s,'scale');if(elem.tagName=='A'&&elem.style){if(!elem.style.cursor){elem.style.cursor='pointer'}}
this.fixchild(elem);elem.runtimeStyle.behavior='none'}}},hover: function(elem,hvImg){var bgImg=elem.style.backgroundImage;if(!bgImg&&elem.currentStyle) bgImg=elem.currentStyle.backgroundImage;if(elem.tagName=='IMG'&&hvImg){var image=elem.src;elem.onmouseover=function(){elem.src=hvImg;IEPNGFIX.fix(elem)};elem.onmouseout=function(){elem.src=image;IEPNGFIX.fix(elem)}}
else if(bgImg&&bgImg!='none'&&hvImg){elem.onmouseover=function(){elem.style.backgroundImage='url('+hvImg+')';IEPNGFIX.fix(elem)};elem.onmouseout=function(){elem.style.backgroundImage=bgImg;IEPNGFIX.fix(elem)}}
IEPNGFIX.fix(elem)}}}

