echo $solution;
?>
</p>
            </div>
        </div>
      </div>
    </div>
</div>
<script type="text/javascript">
    var tags = document.getElementsByTagName('a');
    for (var i=0; i<tags.length; i++)
    {
        var hashLocation = tags[i].href.split("#");
        //Fix anchor links (i.e. href="#Bottom") because of the base tag. Also don't change their target
        if(hashLocation[1] !== undefined && hashLocation[0] === "<?php 
echo \RightNow\Utils\Url::getShortEufBaseUrl(false, '/');
?>
"){
            tags[i].href = "about:blank#" + hashLocation[1];
        }
        else{
            tags[i].target = "_blank";
        }
    }

    tags = document.getElementsByTagName('form');
    for (var i=0; i<tags.length; i++)
    {
        tags[i].onsubmit = function(){alert("<?php 
echo \RightNow\Utils\Config::getMessageJS(DISABLED_FOR_PREVIEW_MSG);
?>
                <?php 
}
?>
            </div>
        </div>
    </div>
  </div>
</div>
<script type="text/javascript">
    var tags = document.getElementsByTagName('a');
    for (var i=0; i<tags.length; i++)
    {
        var hashLocation = tags[i].href.split("#");
        //Let anchor links stay in the same window but all others should show in a new window due to issues using the dotnet client browser
        if(hashLocation[1] === undefined || hashLocation[0].indexOf("<?php 
echo \RightNow\Utils\Url::getShortEufBaseUrl('sameAsCurrentPage', '/');
?>
") !== 0){
            tags[i].target = "_blank";
        }
    }

    tags = document.getElementsByTagName('form');
    for (var i=0; i<tags.length; i++)
    {
        tags[i].onsubmit = function(){alert("<?php 
echo \RightNow\Utils\Config::getMessageJS(DISABLED_FOR_PREVIEW_MSG);
?>
"); return false;};
    }
</script>