	function dynCreate(id, html)
			{
				var img = dojo.byId(id);
				img.onmouseover = function(){ dijit.showTooltip(html, id); };
				img.onmouseout = function(){ dijit.hideTooltip(id); };
		
			}
			
	function showMe(id, fs)  // Media Library Show Function
	{
		var divv = document.getElementById(id);
		if(divv.style.display == 'none')
		{
			divv.style.display = 'block';
			document.getElementById(fs).style.border = '1px solid black';
		}
		else
		{
			divv.style.display = 'none';
			document.getElementById(fs).style.border = 'none';
		}
	}
	
	function closeMe()
	{
		var par = this.parent;
		par.removeDialog();
	}
	
	function showUrlLink(url) {
		window.open(url,null,'height=600, width=800,status=yes, resizable=yes, scrollbars=yes, toolbar=yes,location=yes,menubar=yes');
	}
	
	function showUrlPicture(url) {
		window.open(url,null,'height=600, width=800,status=no, resizable=no, scrollbars=yes, toolbar=no,location=no,menubar=no');
	}

	function formModifier(){
		var subject1=document.getElementById("select_1_9_toolbar");
		var subject2=document.getElementById("select_1_9");
		if (subject1 != null && subject2!= null) {
			for(var i=0; i<subject2.length;i++) {
				subject2[i].selected=false;
			}
			for(var i=0; i<subject1.length;i++) {
				if(subject1.options[i].selected==true && subject2[i]!=null) {
					subject2.options[i].selected=true;
				}
			}
		}
	}

	function hide(div){
		if (document.getElementById(div)!=null)
			document.getElementById(div).style.display = "none";
	}
	
	function show(div){
		if (document.getElementById(div)!=null)
			document.getElementById(div).style.display = "block";
	}