	function goTop(orix,oriy,desx,desy) {
		var Timer;
		var winHeight = document.body.scrollTop;
		if(Timer) clearTimeout(Timer);
		startx = 0;
		starty = winHeight;
		if(!orix || orix < 0) orix = 0;
		if(!oriy || oriy < 0) oriy = 0;
		var speed = 7;
		if(!desx) desx = 0 + startx;
		if(!desy) desy = 0 + starty;
		desx += (orix - startx) / speed;
		if (desx < 0) desx = 0;
		desy += (oriy - starty) / speed;
		if (desy < 0) desy = 0;
		var posX = Math.ceil(desx);
		var posY = Math.ceil(desy);
		window.scrollTo(posX, posY);
		if((Math.floor(Math.abs(startx - orix)) < 1) && (Math.floor(Math.abs(starty - oriy)) < 1)){
			clearTimeout(Timer);
			window.scroll(orix,oriy);
		}else if(posX != orix || posY != oriy){
			Timer = setTimeout("goTop("+orix+","+oriy+","+desx+","+desy+")",15);
		}else{
			clearTimeout(Timer);
		}
	}

function makeFlash(target, f_path, f_width, f_height, f_wmode)
{
	var myObjectElement = document.createElement('<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="'+ f_width +'" height="'+ f_height +'"></object>');
	var myParamElement1 = document.createElement('<PARAM NAME=movie value="'+ f_path +'">');
	var myParamElement2 = document.createElement('<Param name=quality value=high>');
	
	myObjectElement.appendChild(myParamElement1);
	myObjectElement.appendChild(myParamElement2);
	if (f_wmode) {
		var myParamElement3 = document.createElement('<param name=wmode value=transparent>');
		myObjectElement.appendChild(myParamElement3);
	}
	
	eval(target).appendChild(myObjectElement);
}
