document.write('<span style="display:none" id="178comment_iframe_span"></span>');
var comment_function = function(){
   try {
     if(comments_resources_id&&comments_resources_id!=""&&(window.location.href.indexOf("178.com")>0)){
       var c178_css=typeof(comments_178css)=='undefined'?'':comments_178css;
       var span=document.getElementById("178comment_iframe_span");
       document.domain="178.com";
       span.innerHTML='<iframe allowTransparency="true" id="comments_area" src="http://comments.178.com/resorces_comments.php?resources_id='+comments_resources_id+'&css='+c178_css+'" width="99%"  scrolling="no" frameborder="0" height="0"></iframe>';
       span.style.display="inline";
     }   
   } catch(err) {}
};

try{
   window.attachEvent("onload",comment_function);
}catch(ex){
   window.addEventListener("load",comment_function,false);
}
