function comment_post(_type,_id){$("submit_button").disabled=true;form=$("comment_post");yapi({method:"site.comment.post",data:{content_type:_type,content_id:_id,writer_auth:form.comment_writer_auth.value,writer_name:form.comment_writer_name.value,writer_email:form.comment_writer_email.value,writer_url:form.comment_writer_url.value,comment:form.comment_message.value,security_key:form.security_key.value,security_code:form.security_code.value},success:function(r){$("submit_button").disabled=false;_s=r["status"];error="";for(i in _s){s=_s[i];if(s["type"]=="0"){error+="* "+s["message"]+"\n";}}if(error){alert(error);}else{w.location="http://"+y.hostname+w.location.pathname;}}});}function runSlideShow(){var slideshow=document.getElementById("SlideShow");if(document.all){slideshow.style.filter="blendTrans(duration=2)";slideshow.style.filter="blendTrans(duration=crossFadeDuration)";slideshow.filters.blendTrans.Apply();}slideshow.src=preLoad[j].src;if(document.all){slideshow.filters.blendTrans.Play();}j=j+1;if(j>(p-1)){j=0;}t=setTimeout('runSlideShow()',slideShowSpeed);}function rs(_type,_id,_hash){if(p.location.href !=y.href){return false;}document.write("<img src=\"http://www.inube.com/o/rs.php?type="+_type+"&id="+_id+"&hash="+_hash+"&p="+encodeURIComponent(p.location.href)+"&t="+encodeURIComponent(y.href)+"&r="+encodeURIComponent(d.referrer)+"\" style=\"width:1px;height:1px;\" />");}