﻿(function() 
{
    var _publish_sudoku_acct_ = "DEF789";
    var _publish_sudoku_frame_width = 455;
    var _publish_sudoku_frame_height = 455;
    var _publish_sudoku_puzzle_url = "http://www.publishsudoku.com/pubsudmod.aspx?";

    function quoted(str) 
    {
        return (str != null) ? '"' + str + '"' : '""';
    }

    function writeSudokuFrame(d) 
    {
        _publish_sudoku_puzzle_url = _publish_sudoku_puzzle_url + "acct=" + _publish_sudoku_acct_;

        if (typeof _publish_sudoku_language != "undefined")
            _publish_sudoku_puzzle_url = _publish_sudoku_puzzle_url + "&lang=" + _publish_sudoku_language;

        d.write('<ifr' + 'ame name="trax_frame"' +
		' width=' + quoted(_publish_sudoku_frame_width) +
		' height=' + quoted(_publish_sudoku_frame_height) +
		' frameborder="0"' +
		' src=' + quoted(_publish_sudoku_puzzle_url) +
		' marginwidth="0″ marginheight="0″ vspace="0″ hspace="0″ allowtransparency="true" scrolling="no">');

        d.write('</ifr' + 'ame>');
    }

    writeSudokuFrame(document);

})()



