/* common.js */
function setComboByValue(id,value)
{obj=document.getElementById(id);for(i=0;i<obj.options.length;i++)
{if(obj.options[i].value==value)
obj.selectedIndex=i;}}
function setComboById(id,option_id){obj=document.getElementById(id);for(i=0;i<obj.options.length;i++){debugger;if(obj.options[i].value==value)
obj.selectedIndex=i;}}
function getComboValue(id){i=document.getElementById(id).selectedIndex;return document.getElementById(id).options[i].text;}
function getComboId(id){i=document.getElementById(id).selectedIndex;return document.getElementById(id).options[i].value;}