Some problems solved
Some problems solved

S("select").appendChild( element [,dontCopy:boolean [, pushFlag:boolean]] );
"dontCopy" argument lets you toggle the use of cloneNode() function in appending element/elements.
if you equal it to true, the element/elements will be just appended to the first selected element.
============================================================================
S.getViewportSize();
returns an array that gives you width and height of the viewport.
smrsan76/SnakeJS