/*

 * Ready document for jQuery

 * http://binarypusher.com

 *

 * Copyright (c) 2006 Steve Bramley (binarypusher.com)

 * Licensed under the MIT License:

 *   http://www.opensource.org/licenses/mit-license.php

 *

 * $LastChangedDate: 2006-08-23 12:39:59 +0800 (Wed, 23 Aug 2006) $

 * $Rev: 0 $

 */



$(document).ready(function(){

  /* register any elements that need validation 

	*	force validation on field change*/

	$('.date_picker').each(function() {$(this).calendar(this);});

	output = true;
	count = 0;
	setTimeout(function() {
	$('.post_text img').each(function() {
		obj = $(this);
		if ($.browser.msie){
			if (output){
				count++;
				if (obj.attr("width") > 580){
					obj.attr("width",580);
				}
				if (count > 2){
					output = false;
				}
			}
		}
	});
	},1000);

});

