var template = { html : "<!DOCTYPE html>\n<html lang=\"en\">\n<body>\n<div id=\"div1\">div1<\/div>\n<div id=\"div2\">div2<\/div>\n<div id=\"div3\">div3<\/div>\n<script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.3.2\/jquery.min.js\" ><\/script>\n<script> \n(function($){\n    \/\/3 alerts one for each div reporting the value of its id\n    $('div').each(function(){\n        alert($(this).attr('id'));\n        \/\/Here \"this\" is each element in the wrapper set. Could also be written \"this.id\"\n    });\n})(jQuery);\n<\/script>\n<\/body>\n<\/html> ", javascript : "\n" };