function CreateFlashControl ( DivId, URl, Width , Height ) 
{
	var innerHTML = 
		'<object classid = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ' + 
			'codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ' + 
			'width = "' + Width + '" height = "' + Height + '" align = "middle" id = "intro_1" >' + 
			'<param name="allowScriptAccess" value="sameDomain" />' + 
			'<param name="menu" value="true" />' + 
			'<param name="bgcolor" value="#000000" />' + 
			'<param name="movie" value="' + URl + '" />' + 
			'<param name="quality" value="High" />' + 
			'<param name="wmode" value="transparent">' + 
			'<embed src="' + URl + '" menu="false" quality="High" bgcolor="#000000" width = "' + Width + '" height = "' + Height + '" name = "intro_1" align="middle" allowScriptAccess="sameDomain"  wmode="transparent" ' + 
				'name = "' + DivId + 'Object" ' + 
				'type="application/x-shockwave-flash" ' + 
				'pluginspage="http://www.macromedia.com/go/getflashplayer">' + 
			'</embed></object>';
	var div = document.getElementById ( DivId );		
	div.innerHTML = innerHTML;
}

	function ShowCities( CityName ) 
	{	
		//alert(CityName);
		openBareCenteredWin("/india/smallbusiness/Specialists/Default.aspx?Id=" + escape(CityName), "SpecialistsList",450, 200);	
	}

	function PopUp(sURl, sName, sFeatures) {
		// To open a new window
			var newBrowser;
			newBrowser = window.open(sURl, sName, sFeatures);
			newBrowser.focus();		
	}

	function openBareCenteredWin(newUrl, winName, winWidth, winHeight) {
		__openWin(newUrl, winName, winWidth, winHeight, ",status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no");
	}

	function __openWin(newUrl, winName, winWidth, winHeight, strOptions) {
		var str;
		str="width=" + winWidth + ",height=" + winHeight + ",innerHeight=" + winHeight;
		str+=",innerWidth=" + winWidth;

		if (window.screen)
		{
		var yPos = ( screen.availHeight / 2 ) - ( winHeight / 2);
		yPos = yPos < 0 ? 0 : yPos;
		var xPos = ( screen.availWidth / 2 ) - ( winWidth / 2);
		xPos = xPos < 0 ? 0 : xPos;
		str += ",left=" + xPos;
		str += ",screenX=" + xPos;
		str += ",top=" + yPos;
		str += ",screenY=" + yPos;
		}
		str += strOptions;
		PopUp(newUrl, winName, str);
	}