<inp2:m_NoDebug/>
<inp2:m_Set skip_last_template="1"/>
<inp2:m_include t="browser/browser_header" nobody="yes"/>



<script language="javascript">
var current_type = '<inp2:m_Get name="type"/>';
var current_folder = '<inp2:m_Get name="type"/>';
var last_folder = '<inp2:m_Get name="type"/>';

function SetResourceType( type )
{
	current_type = type;
	window.frames['frmResourcesList'].OpenFolder( type, type );
}



var oIcons = new Object() ;

oIcons.AvailableIconsArray = [ 
	'ai','avi','bmp','cs','dll','doc','exe','fla','gif','htm','html','jpg','js',
	'mdb','mp3','pdf','ppt','rdp','swf','swt','txt','vsd','xls','xml','zip' ] ;
	
oIcons.AvailableIcons = new Object() ;

for ( var i = 0 ; i < oIcons.AvailableIconsArray.length ; i++ )
	oIcons.AvailableIcons[ oIcons.AvailableIconsArray[i] ] = true ;

oIcons.GetIcon = function( fileName )
{
	var sExtension = fileName.substr( fileName.lastIndexOf('.') + 1 ).toLowerCase() ;

	if ( this.AvailableIcons[ sExtension ] == true )
		return sExtension ;
	else
		return 'default.icon' ;
}
</script>

	<frameset cols="150,*" class="Frame" framespacing="3" bordercolor="#f1f1e3" frameborder="yes">
		<frameset rows="50,*" framespacing="0">
			<frame src="<inp2:m_Link template='browser/frmresourcetype'/>" scrolling="no" frameborder="no">
			<frame name="frmFolders" src="<inp2:m_Link template='browser/frmfolders' />" scrolling="auto" frameborder="yes">
		</frameset>
		<frameset rows="50,*,50" framespacing="0">
			<frame name="frmActualFolder" src="<inp2:m_Link template='browser/frmactualfolder' />" scrolling="no" frameborder="no" noresize>
			<frame id="frmResourcesList" name="frmResourcesList" src="<inp2:m_Link template='browser/frmresourceslist' />" scrolling="no" frameborder="yes" noresize>
			<frameset cols="150,*,0" framespacing="0" frameborder="no">
				<frame name="frmCreateFolder" src="<inp2:m_Link template='browser/frmcreatefolder' />" scrolling="no" frameborder="no" noresize>
				<frame name="frmUpload" src="<inp2:m_Link template='browser/frmupload' />" scrolling="no" frameborder="no" noresize>
				<frame name="frmUploadWorker" src="<inp2:m_Link template='browser/fckblank' />" scrolling="no" frameborder="no" noresize>
			</frameset>
		</frameset>
	</frameset>

</html>
