string $xfSplashPathes[] = `xbmLangPathList`;
string $xfSplashPath = searchPathArray( "splash_Xfrog4forMaya50.png", $xfSplashPathes );
string $xfSplashWindow = `window -title "About Xfrog4Maya"`;
string $xfSplashFormLayout = `formLayout`;
string $xfSplashImage;
if (`size($xfSplashPath)`>0) $xfSplashImage = `image -w 600 -h 400 -image $xfSplashPath`;
string $xfSplashButton = `button -label "Ok" -c "deleteUI -wnd $xfSplashWindow;" -align "center"`;
formLayout -edit
		-attachForm $xfSplashImage "top" 10
		-attachForm $xfSplashImage "left" 10
		-attachForm $xfSplashImage "right" 10
		-attachPosition $xfSplashImage "bottom" 0 90
	    	
	    	-attachControl $xfSplashButton "top" 10 $xfSplashImage
		-attachForm $xfSplashButton "left" 275
		-attachForm $xfSplashButton "right" 275
	    	-attachPosition $xfSplashButton "bottom" 10 100
	    	
    		$xfSplashFormLayout;
window -e -wh 625 475 -s false $xfSplashWindow;
showWindow $xfSplashWindow;