Bug 307327 BIDI3.6:In-line component positioning problem in RTL Reports
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
writer.writeCode( "          }" ); 
		writer.writeCode( "      }" ); 
		writer.writeCode( " ]]>" ); 
		writer.writeCode( "</script>" ); 
	}
	
	/**
	 * Fixes the security issues when redirecting page in IE7.
	 */
	protected void fixRedirect( )
	{
		writer.writeCode( "<script type=\"text/javascript\">" ); 
		writer.writeCode( " <![CDATA[" ); 
		if ( htmlIDNamespace == null )
		{
			writer.writeCode( "   function redirect(target, url){" ); 
		}
		else
		{
			writer.writeCode( "   function " + htmlIDNamespace + "redirect(target, url){" ); 
		}
		writer.writeCode( "       if (target =='_blank'){" ); 
		writer.writeCode( "           open(url);" ); 
		writer.writeCode( "       }" ); 
		writer.writeCode( "       else if (target == '_top'){" ); 
		writer.writeCode( "           window.top.location.href=url;" );                                                                                                                                          
		writer.writeCode( "       }" ); 
		writer.writeCode( "       else if (target == '_parent'){" ); 
		writer.writeCode( "           location.href=url;" );                                                                                                                                     
		writer.writeCode( "       }" );