function addJavascript(jsname,pos) {
var th = document.getElementsByTagName(pos)[0];
var s = document.createElement('script');
s.setAttribute('type','text/javascript');
s.setAttribute('src',jsname);
th.appendChild(s);
} 

if(formid){
  $('#Wrapper .Content').append('<p id="start"></p><div id="formcontents"></div>');
  //$('#formcontents').load('/remoteforms.php');
  $.get("/remoteforms.php", { formid: formid },
    function(data){
      $("#formcontents").html(data);
    });

//document.write('<p id="start"> <div id="formcontents">&nbsp;</div>');

}