var template = { url : "http://jsbin.com/aqilu", html : "<!DOCTYPE html>\n<html lang=\"en\">\n<body>\n<div id=\"parentDiv\" style=\"display:none;\">\n <div id=\"childDiv\" style=\"display:block;\"><\/div>\n<\/div>\n<script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.3.2\/jquery.min.js\"><\/script>\n<script> \n(function($){\n    \/\/ Returns true because the parent div is hidden, so the\n    \/\/ encapsulated div reports zero offsetWidth, offsetHeight\n    alert($('#childDiv').is(':hidden'));\n})(jQuery);\n<\/script>\n<\/body>\n<\/html>", javascript : "" };