function bt(C,B,A){blendimage(C+"_div",C,B,300,A)}var maxLoops=3;var bInterval=2;var count=2;function initBlendImage(){var speed=Math.round(2000/100);var timer=0;blendimage("blendtrjs_div","blendtrjs",eval("img"+count+".src"),2000);if(count<maxLoops){count++}else{count=1}setTimeout("initBlendImage()",bInterval*700+2000)}function changeOpac(B,C){if(!document.getElementById(C)){return }var A=document.getElementById(C).style;A.opacity=(B/100);A.MozOpacity=(B/100);A.KhtmlOpacity=(B/100);A.filter="alpha(opacity="+B+")"}function blendimage(G,B,F,C,A){if(!document.getElementById(G)){return }var D=Math.round(C/100);var E=0;if(A!=true){document.getElementById(G).style.backgroundImage="url("+document.getElementById(B).src+")"}changeOpac(0,B);document.getElementById(B).src=F;for(i=0;i<=100;i++){setTimeout("changeOpac("+i+",'"+B+"')",(E*D));E++}};
