/**
 *
 * library for flash
 * all functions are called from a getURL(flash) method
 * @author kojirof@tha.jp
 *
 */




/**
 * function to focus on swf object
 * @param divid value that identify swf object
 * @return void
 */
function setFocus(divid)
{
	document.getElementById(divid).focus();
}



/**
 * function to scroll window
 * @param sy	y amount to scroll
 * @return void
 */
 
function doScrollWindow(sy)
{
	window.scrollBy(0, sy);
}


/**
 * function to resize swf object
 * @param divid value that identify swf object
 * @param tw target height
 * @return void
 */
function setSWFHeight(divid, th)
{
	document.getElementById(divid).style.height = th+"px";
}

