
var fleft=0,ftop=0,fwidth=0,zoomOut=false,zoomInt=false,zoomTop=0;

var Drag = {

	obj : null,

	init : function(o, oRoot, minX, maxX, minY, maxY, bSwapHorzRef, bSwapVertRef, fXMapper, fYMapper)
	{
		o.onmousedown	= Drag.start;

		o.hmode			= bSwapHorzRef ? false : true ;
		o.vmode			= bSwapVertRef ? false : true ;

		o.root = oRoot && oRoot != null ? oRoot : o ;

		if (o.hmode  && isNaN(parseInt(o.root.style.left  ))) o.root.style.left   = "0px";
		if (o.vmode  && isNaN(parseInt(o.root.style.top   ))) o.root.style.top    = "0px";
		if (!o.hmode && isNaN(parseInt(o.root.style.right ))) o.root.style.right  = "0px";
		if (!o.vmode && isNaN(parseInt(o.root.style.bottom))) o.root.style.bottom = "0px";

		o.minX	= typeof minX != 'undefined' ? minX : null;
		o.minY	= typeof minY != 'undefined' ? minY : null;
		o.maxX	= typeof maxX != 'undefined' ? maxX : null;
		o.maxY	= typeof maxY != 'undefined' ? maxY : null;

		o.xMapper = fXMapper ? fXMapper : null;
		o.yMapper = fYMapper ? fYMapper : null;

		o.root.onDragStart	= new Function();
		o.root.onDragEnd	= new Function();
		o.root.onDrag		= new Function();
	},

	start : function(e)
	{
		var o = Drag.obj = this;
		e = Drag.fixE(e);
		
		var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);
		var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );
		
		o.root.onDragStart(x, y);

		o.lastMouseX	= e.clientX;
		o.lastMouseY	= e.clientY;

		if (o.hmode) {
			if (o.minX != null)	o.minMouseX	= e.clientX - x + o.minX;
			if (o.maxX != null)	o.maxMouseX	= o.minMouseX + o.maxX - o.minX;
		} else {
			if (o.minX != null) o.maxMouseX = -o.minX + e.clientX + x;
			if (o.maxX != null) o.minMouseX = -o.maxX + e.clientX + x;
		}

		if (o.vmode) {
			if (o.minY != null)	o.minMouseY	= e.clientY - y + o.minY;
			if (o.maxY != null)	o.maxMouseY	= o.minMouseY + o.maxY - o.minY;
		} else {
			if (o.minY != null) o.maxMouseY = -o.minY + e.clientY + y;
			if (o.maxY != null) o.minMouseY = -o.maxY + e.clientY + y;
		}

		document.onmousemove	= Drag.drag;
		document.onmouseup		= Drag.end;

		return false;
	},

	drag : function(e)
	{
		e = Drag.fixE(e);
		var o = Drag.obj;

		var ey	= e.clientY;
		var ex	= e.clientX;
		
		var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);
		var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );
		var nx, ny;

		if (o.minX != null) ex = o.hmode ? Math.max(ex, o.minMouseX) : Math.min(ex, o.maxMouseX);
		if (o.maxX != null) ex = o.hmode ? Math.min(ex, o.maxMouseX) : Math.max(ex, o.minMouseX);
		if (o.minY != null) ey = o.vmode ? Math.max(ey, o.minMouseY) : Math.min(ey, o.maxMouseY);
		if (o.maxY != null) ey = o.vmode ? Math.min(ey, o.maxMouseY) : Math.max(ey, o.minMouseY);

		nx = x + ((ex - o.lastMouseX) * (o.hmode ? 1 : -1));
		ny = y + ((ey - o.lastMouseY) * (o.vmode ? 1 : -1));


		if (o.xMapper)		nx = o.xMapper(y)
		else if (o.yMapper)	ny = o.yMapper(x)
		

		Drag.obj.root.style[o.hmode ? "left" : "right"] = nx + "px";
		Drag.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px";
		
		
		Drag.obj.lastMouseX	= ex;
		Drag.obj.lastMouseY	= ey;
		
		Drag.obj.root.onDrag(nx, ny);
		
		return false;
	},

	end : function()
	{
	    zoomTop=0;
	    var sy=parseInt(Drag.obj.root.style.top);
	    if (sy<-114 && sy>=-132){ Drag.obj.root.style.top="-132px"; }
	    if (sy<-96 && sy>=-114) {Drag.obj.root.style.top="-114px";}
	    if (sy<-78 && sy>=-96) {Drag.obj.root.style.top="-96px";}
	    if (sy<=-60 && sy>=-78) {Drag.obj.root.style.top="-78px";}
	    if (sy<=-42 && sy>=-60) {Drag.obj.root.style.top="-60px";}
	    if (sy<=-25 && sy>=-42) {Drag.obj.root.style.top="-42px";}
	    if (sy<=-1 && sy>=-25) {Drag.obj.root.style.top="-25px";}

	    
		document.onmousemove = null;
		document.onmouseup   = null;
		
		sy=parseInt(Drag.obj.root.style.top);
		if (sy==-132&&scale!=4) {tempScale=scale;scale=4;ZoomControl();}
		if (sy==-114&&scale!=3) {tempScale=scale;scale=3;ZoomControl();}
		if (sy==-96&&scale!=2) {tempScale=scale;scale=2;ZoomControl();}
		if (sy==-78&&scale!=1){tempScale=scale;scale=1;ZoomControl();}
		if (sy==-60&&scale!=0.5){tempScale=scale;scale=0.5;ZoomControl();}
		if (sy==-42&&scale!=0.25){tempScale=scale;scale=0.25;ZoomControl();}
		if (sy==-25&&scale!=0.125){tempScale=scale;scale=0.125;ZoomControl();}
		
		
		Drag.obj.root.onDragEnd(	parseInt(Drag.obj.root.style[Drag.obj.hmode ? "left" : "right"]), 
									parseInt(Drag.obj.root.style[Drag.obj.vmode ? "top" : "bottom"]));
	    
	    

		Drag.obj = null;
		
			
		

	},

	fixE : function(e)
	{
		if (typeof e == 'undefined') e = window.event;
		if (typeof e.layerX == 'undefined') e.layerX = e.offsetX;
		if (typeof e.layerY == 'undefined') e.layerY = e.offsetY;
		return e;
	}
};
function dragout()//放大；
{
      var slider = document.getElementById("slider");

              if(slider.style.top=="-121px")//拖拉到极限,停止执行;
       {
        zoomTop=-119;
        return;
       }
//        zz="";
//        for(var test=0;test<list2.length;test++)
//        {
//           zz+=list2[test].id+"   }  ";
//        }
      // alert(zz+list2.length);
        //alert(ss);
//		var left=list2[0].offsetLeft-(mainWidth-5)/2;
//		var top=list2[0].offsetTop-(mainWidth-5)/2;
		//alert(list2[0].id);
		var left=list2[0].offsetLeft-22;
		var top=list2[0].offsetTop-15;
		//x=left;y=top;
		var istep=list2[0].offsetWidth+8;
	   if(fleft==0)
       {
        fleft=list2[0].offsetLeft;
        ftop=list2[0].offsetTop;
        fwidth=list2[0].offsetWidth;
       }
		for(i=0;i<jCount;i++)
		{
		  for(j=0;j<iCount;j++)
		   {
		     try
		     {
		       
		       if(list2[i*iCount+j].mark == "map")
		       {
		       list2[i*iCount+j].style.left=j*istep+left;
		       //alert(list[i*iCount+j].id);
			   list2[i*iCount+j].style.top=i*istep+top;
		       var cc=list2[i*iCount+j].offsetWidth;
		       // alert(cc);
               list2[i*iCount+j].style.width=cc+8;
               list2[i*iCount+j].style.height=cc+8;
               }
			}
			catch(failed)
			{
			
			}
		  }	
		}
}
function dragin()//缩小；
{
     var slider = document.getElementById("slider");
//       if(slider.style.top=="-121px")//拖拉到极限,停止执行;
//       {
//        zoomTop=-121;
//        return;
//       }
       if(slider.style.top=="-40px")//拖拉到极限,停止执行;
       {
        zoomTop=-38;
        return;
       }

		var left=list2[0].offsetLeft+23;
		var top=list2[0].offsetTop+18;
		var istep=list2[0].offsetWidth-8;
		var iCount=Math.floor(mainWidth/200)+2;
		var jCount=Math.floor(mainHeight/200)+2;
	   if(fleft==0)
       {
        fleft=list2[0].offsetLeft;
        ftop=list2[0].offsetTop;
        fwidth=list2[0].offsetWidth;
       }
       if(istep<30) return;
		for(i=0;i<jCount;i++)
		{
		  for(j=0;j<iCount;j++)
		   {
		     try
		     {
		       if(list2[i*iCount+j].mark == "map")
		       {
		       list2[i*iCount+j].style.left=j*istep+left;
		       //alert(list[i*iCount+j].id);
			   list2[i*iCount+j].style.top=i*istep+top;
		       var cc=list2[i*iCount+j].offsetWidth;
		 // alert(cc);
               list2[i*iCount+j].style.width=cc-8;
               list2[i*iCount+j].style.height=cc-8;
               }
			}
			catch(failed)
			{
			
			}
		  }	
		}
}
function reset()
{
       var left=fleft;
		var top=ftop;
				if((left==0)||(top==0))
		{
		  return;
		}
		var istep=fwidth;
		var iCount=Math.floor(mainWidth/200)+2;
		var jCount=Math.floor(mainHeight/200)+2;
		 var div=document.getElementById("map");
        var list=div.getElementsByTagName("img");
        var list2=new Array();
        zoomTop=0;
        ss="";
        j=0;
        for(z=0;z<list.length;z++)
        {
         
         if(list[z].id!="trans")
         {
          list2[j]=list[z];
          //ss+=list2[j].id+"   }  ";
          j++;
         }
        }
		for(i=0;i<jCount;i++)
		{
		  for(j=0;j<iCount;j++)
		   {
		     try
		     {
		       if(list2[i*iCount+j].mark == "map")
		       {
		       list2[i*iCount+j].style.left=j*istep+left;
		       //alert(list[i*iCount+j].id);
			   list2[i*iCount+j].style.top=i*istep+top;
		       //var cc=list2[i*iCount+j].offsetWidth;
		 // alert(cc);
               list2[i*iCount+j].style.width=fwidth;
               list2[i*iCount+j].style.height=fwidth;
               }
			}
			catch(failed)
			{
			
			}
		  }	
		}
		fleft=0;
		ftop=0;
		fwidth=0;
}

var Drag1 = {

 obj : null,

 init : function(o, oRoot, minX, maxX, minY, maxY, bSwapHorzRef, bSwapVertRef, fXMapper, fYMapper)
 {
 
  o.onmousedown = Drag1.start;

  o.hmode   = bSwapHorzRef ? false : true ;
  o.vmode   = bSwapVertRef ? false : true ;

  o.root = oRoot && oRoot != null ? oRoot : o ;

  if (o.hmode  && isNaN(parseInt(o.root.style.left  ))) o.root.style.left   = "0px";
  if (o.vmode  && isNaN(parseInt(o.root.style.top   ))) o.root.style.top    = "0px";
  if (!o.hmode && isNaN(parseInt(o.root.style.right ))) o.root.style.right  = "0px";
  if (!o.vmode && isNaN(parseInt(o.root.style.bottom))) o.root.style.bottom = "0px";

  o.minX = typeof minX != 'undefined' ? minX : null;
  o.minY = typeof minY != 'undefined' ? minY : null;
  o.maxX = typeof maxX != 'undefined' ? maxX : null;
  o.maxY = typeof maxY != 'undefined' ? maxY : null;

  o.xMapper = fXMapper ? fXMapper : null;
  o.yMapper = fYMapper ? fYMapper : null;

  o.root.onDragStart = new Function();
  o.root.onDragEnd = new Function();
  o.root.onDrag  = new Function();
 },

 start : function(e)
 {
  if(document.getElementById("Info")!=null)
  {
     document.getElementById("Info").removeNode(true);
  }
  
  document.getElementById("trans").style.cursor = "move";
  
  mapLeftTemp = parseInt(document.getElementById("map").style.left);
  mapTopTemp = parseInt(document.getElementById("map").style.top);
  
  var o = Drag1.obj = this;
  e = Drag1.fixE(e);
  var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);
  var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );
  o.root.onDragStart(x, y);

  o.lastMouseX = e.clientX;
  o.lastMouseY = e.clientY;

  if (o.hmode) {
   if (o.minX != null) o.minMouseX = e.clientX - x + o.minX;
   if (o.maxX != null) o.maxMouseX = o.minMouseX + o.maxX - o.minX;
  } else {
   if (o.minX != null) o.maxMouseX = -o.minX + e.clientX + x;
   if (o.maxX != null) o.minMouseX = -o.maxX + e.clientX + x;
  }

  if (o.vmode) {
   if (o.minY != null) o.minMouseY = e.clientY - y + o.minY;
   if (o.maxY != null) o.maxMouseY = o.minMouseY + o.maxY - o.minY;
  } else {
   if (o.minY != null) o.maxMouseY = -o.minY + e.clientY + y;
   if (o.maxY != null) o.minMouseY = -o.maxY + e.clientY + y;
  }

  document.onmousemove = Drag1.drag;
  document.onmouseup  = Drag1.end;

  return false;
 },

 drag : function(e)
 {

 
 
  e = Drag1.fixE(e);
  var o = Drag1.obj;

  var ey = e.clientY;
  var ex = e.clientX;
  var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);
  var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );
  var nx, ny;

  if (o.minX != null) ex = o.hmode ? Math.max(ex, o.minMouseX) : Math.min(ex, o.maxMouseX);
  if (o.maxX != null) ex = o.hmode ? Math.min(ex, o.maxMouseX) : Math.max(ex, o.minMouseX);
  if (o.minY != null) ey = o.vmode ? Math.max(ey, o.minMouseY) : Math.min(ey, o.maxMouseY);
  if (o.maxY != null) ey = o.vmode ? Math.min(ey, o.maxMouseY) : Math.max(ey, o.minMouseY);

  nx = x + ((ex - o.lastMouseX) * (o.hmode ? 1 : -1));
  ny = y + ((ey - o.lastMouseY) * (o.vmode ? 1 : -1));

  if (o.xMapper)  nx = o.xMapper(y)
  else if (o.yMapper) ny = o.yMapper(x)

  Drag1.obj.root.style[o.hmode ? "left" : "right"] = nx + "px";
  Drag1.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px";
  Drag1.obj.lastMouseX = ex;
  Drag1.obj.lastMouseY = ey;

  Drag1.obj.root.onDrag(nx, ny);
  return false;
 },

 end : function()
 {
  document.onmousemove = null;
  document.onmouseup   = null;
  Drag1.obj.root.onDragEnd( parseInt(Drag1.obj.root.style[Drag1.obj.hmode ? "left" : "right"]), 
         parseInt(Drag1.obj.root.style[Drag1.obj.vmode ? "top" : "bottom"]));
  Drag1.obj = null;
 },

 fixE : function(e)
 {
  if (typeof e == 'undefined') e = window.event;
  if (typeof e.layerX == 'undefined') e.layerX = e.offsetX;
  if (typeof e.layerY == 'undefined') e.layerY = e.offsetY;
  return e;
 }
};


var Drag2 = {

 obj : null,

 init : function(o, oRoot, minX, maxX, minY, maxY, bSwapHorzRef, bSwapVertRef, fXMapper, fYMapper)
 {
  o.onmousedown = Drag2.start;

  o.hmode   = bSwapHorzRef ? false : true ;
  o.vmode   = bSwapVertRef ? false : true ;

  o.root = oRoot && oRoot != null ? oRoot : o ;

  if (o.hmode  && isNaN(parseInt(o.root.style.left  ))) o.root.style.left   = "0px";
  if (o.vmode  && isNaN(parseInt(o.root.style.top   ))) o.root.style.top    = "0px";
  if (!o.hmode && isNaN(parseInt(o.root.style.right ))) o.root.style.right  = "0px";
  if (!o.vmode && isNaN(parseInt(o.root.style.bottom))) o.root.style.bottom = "0px";

  o.minX = typeof minX != 'undefined' ? minX : null;
  o.minY = typeof minY != 'undefined' ? minY : null;
  o.maxX = typeof maxX != 'undefined' ? maxX : null;
  o.maxY = typeof maxY != 'undefined' ? maxY : null;

  o.xMapper = fXMapper ? fXMapper : null;
  o.yMapper = fYMapper ? fYMapper : null;

  o.root.onDragStart = new Function();
  o.root.onDragEnd = new Function();
  o.root.onDrag  = new Function();
 },

 start : function(e)
 {
  var o = Drag2.obj = this;
  e = Drag2.fixE(e);
  var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);
  var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );
  o.root.onDragStart(x, y);

  o.lastMouseX = e.clientX;
  o.lastMouseY = e.clientY;

  if (o.hmode) {
   if (o.minX != null) o.minMouseX = e.clientX - x + o.minX;
   if (o.maxX != null) o.maxMouseX = o.minMouseX + o.maxX - o.minX;
  } else {
   if (o.minX != null) o.maxMouseX = -o.minX + e.clientX + x;
   if (o.maxX != null) o.minMouseX = -o.maxX + e.clientX + x;
  }

  if (o.vmode) {
   if (o.minY != null) o.minMouseY = e.clientY - y + o.minY;
   if (o.maxY != null) o.maxMouseY = o.minMouseY + o.maxY - o.minY;
  } else {
   if (o.minY != null) o.maxMouseY = -o.minY + e.clientY + y;
   if (o.maxY != null) o.minMouseY = -o.maxY + e.clientY + y;
  }

  document.onmousemove = Drag2.drag;
  document.onmouseup  = Drag2.end;

  return false;
 },

 drag : function(e)
 {
 
  e = Drag2.fixE(e);
  var o = Drag2.obj;

  var ey = e.clientY;
  var ex = e.clientX;
  var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);
  var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );
  var nx, ny;

  if (o.minX != null) ex = o.hmode ? Math.max(ex, o.minMouseX) : Math.min(ex, o.maxMouseX);
  if (o.maxX != null) ex = o.hmode ? Math.min(ex, o.maxMouseX) : Math.max(ex, o.minMouseX);
  if (o.minY != null) ey = o.vmode ? Math.max(ey, o.minMouseY) : Math.min(ey, o.maxMouseY);
  if (o.maxY != null) ey = o.vmode ? Math.min(ey, o.maxMouseY) : Math.max(ey, o.minMouseY);

  nx = x + ((ex - o.lastMouseX) * (o.hmode ? 1 : -1));
  ny = y + ((ey - o.lastMouseY) * (o.vmode ? 1 : -1));

  if (o.xMapper)  nx = o.xMapper(y)
  else if (o.yMapper) ny = o.yMapper(x)

  Drag2.obj.root.style[o.hmode ? "left" : "right"] = nx + "px";
  Drag2.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px";
  Drag2.obj.lastMouseX = ex;
  Drag2.obj.lastMouseY = ey;

  Drag2.obj.root.onDrag(nx, ny);
  
  return false;
 },

 end : function()
 {
  document.onmousemove = null;
  document.onmouseup   = null;
  Drag2.obj.root.onDragEnd( parseInt(Drag2.obj.root.style[Drag2.obj.hmode ? "left" : "right"]), 
         parseInt(Drag2.obj.root.style[Drag2.obj.vmode ? "top" : "bottom"]));
  Drag2.obj = null; 
 },

 fixE : function(e)
 {
  if (typeof e == 'undefined') e = window.event;
  if (typeof e.layerX == 'undefined') e.layerX = e.offsetX;
  if (typeof e.layerY == 'undefined') e.layerY = e.offsetY;
  return e;
 }
 
 
 
};
/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
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){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"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(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},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[_16.length]=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");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_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");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_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{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}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(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[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(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;