	function MakeFlash( Url, Width, Height ) {                 
	  document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id='movie' codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + Width + "\" height=\"" + Height + "\">"); 
	  document.writeln("<param name=\"movie\" value=\"" + Url + "\">"); 
	  document.writeln("<param name=\"quality\" value=\"high\" />");     
	  document.writeln("<param name=\"wmode\" value=\"transparent\">"); 
	  document.writeln("<embed src=\"" + Url + "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + Width + "\"  height=\"" + Height + "\">"); 
	  document.writeln("</object>");   
	}

	function getXY( Obj ) {
		for( var sumTop = 0, sumLeft = 0 ; Obj != document.body ; sumTop += Obj.offsetTop, sumLeft += Obj.offsetLeft, Obj = Obj.offsetParent );
		return { left:sumLeft, top:sumTop }
	}

	function showXY( location, target ) {
		var X, Y;

		X	= getXY( location ).left + 300;
		Y	= getXY( location ).top - 100;
		document.all[ target ].style.left	= X;
		document.all[ target ].style.top	= Y;
		document.all[ target ].style.display	= "block";
	}

	function EnterCheck( type ) {
		if( event.keyCode == 13 ) {
			password_check( type, pass.idx.value, pass.pwss.value );
		}
	}

	jQuery( function(){
		jQuery( 'ul.sf-menu' ).superfish( {
			pathClass:		'current',
			delay:			1,
			animation:		{ opacity:'show', height:'show' },	//	fade-in and slide-down animation
			speed:			'fast',								//	faster animation speed
			autoArrows:		false,								//	disable generation of arrow mark-up
			dropShadows:	false								//	disable drop shadows
		} );
	} );

