﻿/* ===== 'scripts.js' ===== */

// Stylised 'input type="file"' -->
function StylisedFile(obj,id)
	{
		var path = obj.value;
		var position = path.lastIndexOf("\\");
		var result;
		if (position > 0)
			{
				result = path.slice(position + 1);
			}
		else
			{
				result = path;
			};
		document.getElementById(id).value = result;
	}
	
// ]]>

/* --- © Tarik, 2010 --- */

/* ===== // 'scripts.js' // ===== */
