
{
  var docLocation = null
  docLocation = document.getElementById('DailySudoku').value
  if (docLocation == "http://www.sudokukingdom.com/")
  {
     document.write ("<div style='width:294px;'>");
     document.write ('<iframe align=center   frameborder="0" ' +
                              'scrolling="no" marginwidth="0" ' +
                              'hspace="0"     vspace="0" ' +
                              'width="294"      height="424" '+
                              'src="' + docLocation + 'release/compactDailySudoku/index.php?userid=compact"></iframe>');
     document.write ("</div>");
  }
  else
  {
     loc = docLocation + "sudoku_for_websites.php";
     document.write ("<div style='border-style: solid; border-width: 1px; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; color: #4c1f79;'>");
     document.write ("<p align='center'><b><font face='Verdana'><span>Warning: The code for sudoku puzzle has been changed.<br> Please click<a href="+loc+" target='_blank'> here</a> to get the original code</font></b></p></div");
  }
}
