function move(moveparam,URL,fileName,position,multiple,type,title,content,width ,height,imgDesc){

 this.isDOM = (document.getElementById ? true : false);

 this.isIE4 = ((document.all && !this.isDOM) ? true : false);

 this.isNS4 = (document.layers ? true : false);

 this.isNS = navigator.appName == "Netscape";

 this.obj ;
 
 this.leftposition = (position==0 ? 0 :document.body.clientWidth - width)  ;

	this.getRef = function(id) {
		
		if (this.isDOM) return document.getElementById(id);
		if (this.isIE4) return document.all[id];
		if (this.isNS4) return document.layers[id];
	}

  

	this.moveRightEdge = function () {
		
		var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
	
		if (this.isNS4) {
			yMenuFrom   = this.obj.top;
			yMenuTo     = windows.pageYOffset + 20;
		} else if (this.isDOM) {
			yMenuFrom   = parseInt (this.obj.style.top, 10);
			yMenuTo     = (this.isNS ? window.pageYOffset : document.body.scrollTop) + 20;
		}
		timeoutNextCheck = 500;
	
		if (yMenuFrom != yMenuTo) {
			yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);
		
			if (yMenuTo < yMenuFrom)
				yOffset = -yOffset;
				
		//	alert("yOffset = " + yOffset);
		//	alert("this.obj.style.top = " + this.obj.style.top);
			if (this.isNS4)
				this.obj.top += yOffset;
			else if (this.isDOM)
				this.obj.style.top = parseInt (this.obj.style.top, 10) + yOffset;
				timeoutNextCheck = 10;
		}
	//	setTimeout ("this.moveRightEdge()", timeoutNextCheck);
	}

	this.judgeBrowser = function(){
		
		if (this.isNS4) {
		//  alert('ns4');
			this.obj = document[moveparam];	
			this.obj.top = top.pageYOffset + 100 * multiple;
			this.obj.visibility = "visible";
		
			//this.moveRightEdge();
		} else if (this.isDOM) {
		
			this.obj = this.getRef(moveparam);
			this.obj.style.top = (this.isNS ? window.pageYOffset : document.body.scrollTop) + 100 * multiple;
			this.obj.style.visibility = "visible";
			
		//	this.moveRightEdge();
		}
	}
	this.draw = function(){
	      if(width==null) width = 84;
	      if(height==null) height= 372;
		  document.write("<DIV id=" + moveparam + "  style='Z-INDEX: 10; WIDTH:" + width +"px; POSITION: absolute;TOP:" +  218 * multiple + "px;Left:" + this.leftposition + "px; HEIGHT:" + height + "px; visibility: visible;'> ");
			document.write("<TABLE height='100%' cellSpacing=0 cellPadding=0 width='100%' border=0 summary='table'> <TBODY><TR><TD valign=top>"); //359
			if(type=="1"){//pic
		  	 if(URL!=""&&URL!=null){ 
		  	    	document.write("<a href='" +  URL + "' target='_blank' title='open in new window' ><img src='" +  fileName +  "' alt='" + imgDesc +"' width="+ width+ "px height=" + height +"px border=0 ></a>");//width=107 height=300
		
		  	  }
		  	  else{
		  	  	document.write("<img src='" +  fileName +  "' alt='" + imgDesc + "' width="+ width+ "px height=" + height +"px border=0 >");//width=107 height=300
		
		  	  
		  	  }
    
			}
			else if(type=="2"){//Flash
			  	
			  	  if(URL!=""&&URL!=null){ 
			  	    document.write("<a href ='" + URL  + "' target='_blank' title='open in new window' >  \r\n" +
										"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='" + width + "' height='" + height + "' >  \r\n "
										 + " <param name='movie' value='" + fileName + "'>   \r\n  <param name='quality' value='high'>  \r\n "
										 + " <embed src='" +  fileName
											+  "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'  width='" + width + "' height='" + height + "' > object \r\n</embed> \r\n"
										+ " </object>  \r\n" + "</a>");
			  	  }
			  	  else{
			  	  	 document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='" + width + "' height='" + height + "' >  \r\n "
										 + " <param name='movie' value='" + fileName + "'>   \r\n  <param name='quality' value='high'>  \r\n "
										 + " <embed src='" +  fileName
											+  "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + width + "' height='" + height + "' >  object \r\n</embed> \r\n"
										+ " </object>  \r\n");
			  	  }
			  	
			}
			else if(type=="3"){//text
			  	  if(URL!=""&&URL!=null){ 
			  	    document.write("<a href=" + URL + " target='_blank' title='open in new window' >" + content + "</a>");
			  	  }
			  	  else{
			  	  	document.write(content);
			  	  }
			  }
			document.write("</TD></TR> </TBODY></TABLE></DIV>");
		 
	
		 this.judgeBrowser();
	}
}