﻿/*
 * jQuery Miloc Plugin v0.0.1
 * http://www.miloce.com/
 *
 * Copyright (c) 2010 miloc
 */

//图片简单透明切换
//imgtransition({speed: 3000, animate: 1000});
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[2-7a-j]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$.fn.imgtransition=5(o){6 d={e:5000,b:1000};o=$.extend(d,o);return f.each(5(){6 3=$("li",f);3.4({position:"absolute"});3.parent().4({margin:"0",padding:"0","list-style":"none",overflow:"hidden"});5 g(){6 2=3.h(".2").i?3.h(".2"):3.c();6 7=2.7().i?2.7():3.c();2.4({"z-a":9});7.4({j:0.0,"z-a":10}).addClass(\'2\').b({j:1.0},o.b,5(){2.removeClass(\'2\').4({"z-a":8})})}3.c().4({"z-a":9});setInterval(5(){g()},o.e)})};',[],20,'||active|arr_e|css|function|var|next|||index|animate|first|defaults|speed|this|shownext|filter|length|opacity'.split('|'),0,{}))

//焦点图片
//imgfocus({speed: 30,amount: 1,dir: "left"});
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[24-9a-hj-np-v]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$.fn.imgscroll=4(o){7 p={d:30,q:1,a:"5"};o=$.extend(p,o);return e.each(4(){7 2=$("r",e);2.6().6().8({f:"g",h:"j"});2.6().8({margin:"0",padding:"0",f:"g",h:"j","list-style":"none"});2.8({h:"j",f:"g"});k(o.a=="5")2.8({float:"5"});7 b=0;for(7 i=0;i<2.size();i++)b+=o.a=="5"?2.s(i).outerWidth(t):2.s(i).outerHeight(t);k(o.a=="5")2.6().8({width:(b*3)+"px"});2.6().empty().l(2.m()).l(2.m()).l(2.m());2=$("r",e);7 9=0;4 n(){9+=o.q;k(9>b)9=1;2.6().8(o.a=="5"?{5:-9}:{top:-9})}7 c=u(4(){n()},o.d);2.6().hover(4(){v(c)},4(){v(c);c=u(4(){n()},o.d)})})};',[],32,'||_li||function|left|parent|var|css|_li_scroll|dir|_li_size|move|speed|this|overflow|hidden|position||relative|if|append|clone|goto||defaults|amount|li|eq|true|setInterval|clearInterval'.split('|'),0,{}))




function insertFlash(Flash,Width,Height){
	document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" ");
	document.write("codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" ");
	document.write("width=\"" + Width + "\" height=\"" + Height + "\">");
	document.write("<param name=\"movie\" value=\"" + Flash + "\">");
	document.write("<param name=\"quality\" value=\"high\">");
	document.write("<param name=\"wmode\" value=\"transparent\">");
	document.write("<embed src=\"" + Flash + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" ");
	document.write("type=\"application/x-shockwave-flash\" width=\"" + Width + "\" height=\"" + Height + "\"></embed>");
	document.write("</object>");
}
