function popitup()
 {
//alert('test');
//window.showModalDialog('https://mindfire2.crm5//.dynamics.com//WebResources/new_/HTML/SearchActivity.htm','popUpWindow','dialogHeight:400;dialogWidth:850;resizable:yes');
              // if (window.focus) {newwindow.focus()}
	//return false;
window.open('https://mindfire2.crm5.dynamics.com//WebResources/new_/HTML/SearchActivity.htm','popUpWindow','dialogHeight:400,dialogWidth:850, left=100,top=100,resizable:yes,scrollbar:yes,toolbar:no,menubar:no ,directories:no,status:no');
	//newwindow=window.open(new_SearchCriteria,'','height=200,width=150');
	if (window.focus) {newwindow.focus()}
	return false;

}