//WARNING !! Use ONLY for async responses (there is no guarantees for IE Page Onload)
//rel="JS:alert(0)"
Sys.Application.add_load(function () {
	var alixInstance = Sys.WebForms.PageRequestManager.getInstance()
	alixInstance.add_pageLoaded(function () {
		var StartKeyWord = 'JS:', EndKeyWord = ';End;', AttrName = "rel"
		$("[" + AttrName + "*='" + StartKeyWord + "']").each(function () {
			var Source = $(this).attr(AttrName),
				StartInd = Source.indexOf(StartKeyWord) + StartKeyWord.length,
				EndInd = Source.indexOf(EndKeyWord, StartInd) - EndKeyWord.length
			EndInd = EndInd < 0 ? Source.length : EndInd
			var TheCode = Source.substring(StartInd, EndInd)
			eval(TheCode)
			//cleaning
			$(this).attr(AttrName, "")
		})
	})
})

