	//this function return to Flash ActiveX Object or Plugin depending upon browser
	//it takes care for browser type and returns the proper reference.
	//Accepts the id or name of <OBJECT> or <EMBED> tag respectively
	//Taken from Colin Moock (http://www.moock.org) code base.
	function thisMovie(movieName) {
	  // IE and Netscape refer to the movie object differently.
	  // This function returns the appropriate syntax depending on the browser.
	  
	  if (navigator.appName.indexOf ("Microsoft") !=-1) {
		 return window[movieName]
		
	  } else {
		return window.document[movieName]
	  }
	}


	function createJSFCommunicatorObject(playerObj)
	{
			//create an instance of JSFCommunicator, pass the flashMovie's reference
			//make sure flash object is loaded when you create this object with parameter otherwise
			//you can JSFCommunicator.setMovie(flashMovie) once flash object is loaded
			fc = new JSFCommunicator(playerObj);
	}

	



	 function openblog(tenantid,blogid,pkgid)
	 {
		//alert("/blog/form/"+tenantid+"/"+blogid+"/"+pkgid);
		win = window.open("/blog/form/"+tenantid+"/"+blogid+"/"+pkgid,"blogadd","left=200,top=300,width=570,height=580,scrollbars=yes");
		win.focus();
	 }

