 var _window = dojo.global(); var _document = dojo.doc(); if(_document["selection"]){ return _document.selection.createRange().text == ""; }else if(_window["getSelection"]){ var selection = _window.getSelection(); if(dojo.lang.isString(selection)){ return selection == ""; }else{ return selection.isCollapsed || selection.toString() == ""; } } }, 
 var _window = dojo.global(); var _document = dojo.doc(); if(_document["selection"]){ return _document.selection.createRange().text == ""; }else if(_window["getSelection"]){ var selection = _window.getSelection(); if(dojo.lang.isString(selection)){ return selection == ""; }else{ return selection.isCollapsed || selection.toString() == ""; } } }, 
	isCollapsed: function() {		// summary: return whether the current selection is empty		var _window = dojo.global();		var _document = dojo.doc();		if(_document["selection"]){ // IE			return _document.selection.createRange().text == "";		}else if(_window["getSelection"]){			var selection = _window.getSelection();			if(dojo.lang.isString(selection)){ // Safari				return selection == "";			}else{ // Mozilla/W3				return selection.isCollapsed || selection.toString() == "";			}		}	},
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js