function loadEditor(at, id){ 
//$("#MovieInsert").expire('click');
$("#" + at).html('<br /><image width=200px src="http://www.achchi.com/images/loadingBar.gif" />').fadeIn("slow"); 
$("#" + at).load("http://www.machchan.com/" + id + ".html" ).fadeIn(3000); 
} 
            $(document).ready(function(){
						  
                $("img.dropshadow5").wrap("<div class='wrap0'><div class='wrap1'><div class='wrap2'><div class='wrap3'><div class='wrapbox5'></div></div></div></div></div>");
                $("div.dropshadow4").wrap("<div class='wrap0'><div class='wrap1'><div class='wrap2'><div class='wrap3'><div class='wrapbox4'></div></div></div></div></div>");
                $(".dropshadowi").wrap("<div class='wrap0'><div class='wrap1'><div class='wrap2'><div class='wrap3'><div class='wrapbox5'></div></div></div></div></div>");
				

				$("#statics").load("http://www.machchan.com/_Data/Gallery-rand-multi_1.php?c=9&td=3&w=70");
                // validate signup form on keyup and submit
                $("#commentForm").validate({
                    rules: {
                        TITLE: "required",
                        COMM: {
                            required: true,
                            minlength: 2
                        },
                        EMAIL: {
                            required: true,
                            email: true
                        },
                        agree: "required"
                    },
                    messages: {
                        SHWNAM: "Please enter a title",
                        COMM: {
                            required: "Comment here",
                            minlength: "Comment Needed"
                        },
                        EMAIL: {
                            required: "Please enter a valid email address"
                        },
                        agree: "Please accept our policy"
                    }
                });
            });

	 
function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}



$(document).ready(function() {
	alert("hl");
   $('#s3slider').s3Slider({
	
      timeOut: 4000
   });
}); 