﻿// indexOf for all browsers
function universalIndexOf(a,searchElement,fromIndex){
	var i = (fromIndex < 0) ? a.length+fromIndex : fromIndex || 0;
	for(;i<a.length;i++)
		if(searchElement === a[i]) return i;
	return -1
}

if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();