var arrSImage740=new Array();
			var arrSImage840=new Array();
			var name = new Array();
function changeframe(srcframe)
{
	obj=document.getElementById('iframecontent');
	obj.src=arrSImage840[srcframe];
}
function imagescroller(v,www,name,j,I,G,Q,H)
{
this.S=j;this.Q=Q;this.A=10;this.g=0;this.f=0;this.F=4;this.B=0;this.c=0;

if(v.length==0){v[0]='/skins/Default/images/not-available.jpg'; v[1]='/skins/Default/images/not-available.jpg'; v[2]='/skins/Default/images/not-available.jpg'; v[3]='/skins/Default/images/not-available.jpg'; v[4]='/skins/Default/images/not-available.jpg';};
if(v.length==1){v[1]='/skins/Default/images/not-available.jpg'; v[2]='/skins/Default/images/not-available.jpg'; v[3]='/skins/Default/images/not-available.jpg'; v[4]='/skins/Default/images/not-available.jpg'};
if(v.length==2){v[2]='/skins/Default/images/not-available.jpg'; v[3]='/skins/Default/images/not-available.jpg'; v[4]='/skins/Default/images/not-available.jpg'};
if(v.length==3){v[3]='/skins/Default/images/not-available.jpg'; v[4]='/skins/Default/images/not-available.jpg'};
if(v.length==4){v[4]='/skins/Default/images/not-available.jpg'};

if(www.length==0){www[0]=''; www[1]=''; www[2]=''; www[3]=''; www[4]='';};
if(www.length==1){www[1]=''; www[2]=''; www[3]=''; www[4]=''};
if(www.length==2){www[2]=''; www[3]=''; www[4]=''};
if(www.length==3){www[3]=''; www[4]=''};
if(www.length==4){www[4]=''};


var o=v.length;
if (v.length>0)
{
	while(v.length<this.A)
	{
		var ol=v.length;
		for(var i=0;i<o;i++)
			{v[ol+i]=v[i];}
	}
}
		
this.v=v;

var oo=www.length;
if (www.length>0)
{
	while(www.length<this.A)
	{var ool=www.length;
		for(var vv=0;vv<oo;vv++)
			{www[ool+vv]=www[vv];}
	}
}
	
this.www=www;


document.write('<table align="center" cellspacing=0 cellpadding=0 border=0 width=790px height="93px" bgcolor="#FFFFFF" id="tbl'+j+'">');

document.write('<tr>');

document.write('<td valign="bottom" width=1 style="cursor:pointer;" onMouseDown="'+j+'.l(0);return true;" onMouseUp="'+j+'.m();return true;" onMouseOut="'+j+'.m();return true;" onClick="return false;">');
document.write('<img src="/skins/Cata/images/tab-phai.gif" onMouseDown="this.src=\'/skins/Cata/images/tab-phai.gif\'" onMouseUp="this.src=\'/skins/Cata/images/tab-phai.gif\'" onMouseOut="this.src=\'/skins/Cata/images/tab-phai.gif\'">');
document.write('<br /><input type="button" value="'+btnvalue+'" onclick="'+btnonclick+'" style="background-color:#FFFFFF;border:solid 1px #FFFFFF; height:18px;width:55px;" />');
document.write('</td>');


document.write('<td width=100% valign="top"  >');
document.write('<div id="'+j+'" style="position:relative;overflow:hidden;width=100%;height:'+G+';">');
for(var i=0;i<v.length;i++){document.write('<div align="center" valign="top" style="position: absolute;cursor:pointer;left:-500px; padding: 0px 13px 7px 13px;" id="'+j+i+'"><table align="center" cellspacing=0 cellpadding=0 border=0><tr><td align="center"><a href="#" onclick="changeframe('+i+');"> <img style="border:none" src="'+v[i]+'"  onclick="'+j+'.J('+i+',event);"></a></td></tr><tr><td align="center" style="padding-top:10px"><input type="checkbox" name="vieShopProductId" value="'+name[i]+'" /></td></tr></table></div>');}
document.write('</div>');
document.write('</td>');

			   
			   
document.write('<td align="right"  class="Navigator" style="cursor:pointer;" onMouseDown="'+j+'.l(1);return true;" onMouseUp="'+j+'.m();return true;" onMouseOut="'+j+'.m();return true;" onClick="return false;">');
document.write('<img src="/skins/Cata/images/tab-trai.gif"  onMouseDown="this.src=\'/skins/Cata/images/tab-trai.gif\'" onMouseUp="this.src=\'/skins/Cata/images/tab-trai.gif\'" onMouseOut="this.src=\'/skins/Cata/images/tab-trai.gif\'">');
document.write('</td>');
document.write('</tr>');
document.write('<tr><td colspan="3" height="5"></td></tr>');
document.write('<tr><td colspan="3" height="11" background="/Skins/Cata/Images/bg-divider1.jpg"></td></tr>');
document.write('<tr>');
document.write('<td colspan="10" style="padding-top:10px"><table width="100%" cellspacing=0 cellpadding=0 border=0 bgcolor="#FFFFFF"><tr><td>');
document.write('<iframe id="iframecontent" allowtransparency="true" style="background-color:#FFFFFF;" scrolling="auto" src="'+www[1]+'" class="result_output" width="100%" height="350px" frameborder="0" name="view"></iframe>');
document.write('</td></tr></table></td>');
document.write('</tr>');
document.write('</table>');

var M=this;if(window.addEventListener)window.addEventListener("load",function(){M.z()},false);else if(window.attachEvent)window.attachEvent("onload",function(){M.z()});else if(document.getElementById)setTimeout(function(){M.z()},500);};imagescroller.prototype.z=function(){var M=this;M.w()};imagescroller.prototype.w=function(){var n,t,r;r=this.v.length>this.A?this.A:this.v.length;for(var i=0;i<r;i++){n=i+this.g<this.v.length?i+this.g:0-(this.v.length-(i+this.g));t=n-1>=0?n-1:this.v.length-1;if(i==0){document.getElementById(this.S+n).style.left='0px';}else if(i==r-1){if(this.g>0){document.getElementById(this.S+(this.g-1)).style.left=parseInt(document.getElementById(this.S+this.g).style.left)-document.getElementById(this.S+(this.g-1)).offsetWidth-this.Q;}else{document.getElementById(this.S+(this.v.length-1)).style.left=parseInt(document.getElementById(this.S+this.g).style.left)-document.getElementById(this.S+(this.v.length-1)).offsetWidth-this.Q;}}else{document.getElementById(this.S+n).style.left=parseInt(document.getElementById(this.S+t).style.left)+document.getElementById(this.S+t).offsetWidth+this.Q;}}};imagescroller.prototype.O=function(){var M=this;if(0-parseInt(document.getElementById(this.S+this.g).style.left)>document.getElementById(this.S+this.g).offsetWidth){this.g=this.g+1>=this.v.length?0:this.g+1;M.w();if(this.f==1){this.d=setTimeout(function(){M.O()},this.c);}}else{setTimeout(function(){M.D()},this.B);}};imagescroller.prototype.D=function(){var r=this.v.length>this.A?this.A:this.v.length;for(var i=0;i<r;i++){var n=i+this.g<this.v.length?i+this.g:0-(this.v.length-(i+this.g));if(i==r-1){if(this.g>0){document.getElementById(this.S+(this.g-1)).style.left=parseInt(document.getElementById(this.S+(this.g-1)).style.left)-this.F;}else{document.getElementById(this.S+(this.v.length-1)).style.left=parseInt(document.getElementById(this.S+(this.v.length-1)).style.left)-this.F;}}else{document.getElementById(this.S+n).style.left=parseInt(document.getElementById(this.S+n).style.left)-this.F;}}var M=this;setTimeout(function(){M.O()},this.B);};imagescroller.prototype.N=function(){var M=this;var t=this.g-1>=0?this.g-1:this.v.length-1;if(parseInt(document.getElementById(this.S+t).style.left)>0){this.g=this.g-1>=0?this.g-1:this.v.length-1;M.w();if(this.f==1){this.d=setTimeout(function(){M.N()},this.c);}}else{setTimeout(function(){M.C()},this.B);}};imagescroller.prototype.C=function(){var r=this.v.length>this.A?this.A:this.v.length;for(var i=0;i<r;i++){var n=i+this.g<this.v.length?i+this.g:0-(this.v.length-(i+this.g));if(i==r-1){if(this.g>0){document.getElementById(this.S+(this.g-1)).style.left=parseInt(document.getElementById(this.S+(this.g-1)).style.left)+this.F;}else{document.getElementById(this.S+(this.v.length-1)).style.left=parseInt(document.getElementById(this.S+(this.v.length-1)).style.left)+this.F;}}else{document.getElementById(this.S+n).style.left=parseInt(document.getElementById(this.S+n).style.left)+this.F;}}var M=this;setTimeout(function(){M.N()},this.B);};imagescroller.prototype.l=function(type){this.f=1;var M=this;if(type==0){M.N();}else{M.O();}};imagescroller.prototype.m=function(i){this.f=0;clearTimeout(this.d);};imagescroller.prototype.J=function(i,e){var k=(navigator.userAgent.indexOf('MSIE')!=-1&&navigator.userAgent.indexOf('Windows')!=-1);var R;if(!e){var e=window.event;}if(k){var U=(event.screenX);
var V=(event.screenY);}else{var U=(e.screenX);var V=(e.screenY);}U-=100;V-=100;
};

