<!--

//************************* 
//* Handle the add related articles model dialog 
//*************************

function ikb_AddRelatedArticle()	{
	
	var arrArticleInformation = showModalDialog('select_article.aspx',null,'font-family:Verdana; font-size:10; dialogWidth:770px; dialogHeight:500px; center:yes; scroll:yes; help:no; edge: Sunken; status: no;');
	
	if (arrArticleInformation != null && arrArticleInformation["QuestionText"] != 'undefined')
	{
		document.getElementById('RelArticleID').value = arrArticleInformation["QuestionID"];
		document.getElementById('RelArticleAlias').value = arrArticleInformation["QuestionText"];
	}
	
}

//************************* 
//* Handle the date popup model dialog
//*************************

function ikb_SelectDate(txtObject)	{
	
	var dtDateTime = showModalDialog('wysiwyg/calendar.aspx',null,'font-family:Verdana; font-size:10; dialogWidth:275px; dialogHeight:300px; center:yes; scroll:yes; help:no; edge: Sunken; status: no;');
	
	if (dtDateTime != null)
	{document.getElementById(txtObject).value = dtDateTime;}
	
}

//************************* 
//* Clear the contents of a readonly textbox
//*************************

function ikb_ClearValue(txtObject)	{
	document.getElementById(txtObject).value = '';
}

//-->
