$(document).ready(
	function() {
	  $('.windowOpen90').bind(
			'click',
			function() {
			  if ($('#window90').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window90',
						  className: 'transferer2_90',
						  duration: 400,
						  complete: function() {
						    $('#window90').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose90').bind(
			'click',
			function() {
			  $('#window90').TransferTo(
					{
					  to: 'windowOpen90',
					  className: 'transferer2_90',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin90').bind(
			'click',
			function() {
			  $('#windowContent90').SlideToggleUp(300);
			  $('#windowBottom90, #windowBottomContent90').animate({ height: 10 }, 300);
			  $('#window90').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize90').hide();
			  $('#windowMax90').show();
			}
		);
	  $('#windowMax90').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent90'));
			  $('#windowContent90').SlideToggleUp(300);
			  $('#windowBottom90, #windowBottomContent90').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window90').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin90, #windowResize90').show();
			}
		);
	  $('#window90').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop90',
			  handlers: {
			    se: '#windowResize90'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom90, #windowBottomContent90').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent90').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window90').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen82').bind(
			'click',
			function() {
			  if ($('#window82').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window82',
						  className: 'transferer2_82',
						  duration: 400,
						  complete: function() {
						    $('#window82').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose82').bind(
			'click',
			function() {
			  $('#window82').TransferTo(
					{
					  to: 'windowOpen82',
					  className: 'transferer2_82',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin82').bind(
			'click',
			function() {
			  $('#windowContent82').SlideToggleUp(300);
			  $('#windowBottom82, #windowBottomContent82').animate({ height: 10 }, 300);
			  $('#window82').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize82').hide();
			  $('#windowMax82').show();
			}
		);
	  $('#windowMax82').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent82'));
			  $('#windowContent82').SlideToggleUp(300);
			  $('#windowBottom82, #windowBottomContent82').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window82').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin82, #windowResize82').show();
			}
		);
	  $('#window82').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop82',
			  handlers: {
			    se: '#windowResize82'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom82, #windowBottomContent82').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent82').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window82').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen80').bind(
			'click',
			function() {
			  if ($('#window80').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window80',
						  className: 'transferer2_80',
						  duration: 400,
						  complete: function() {
						    $('#window80').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose80').bind(
			'click',
			function() {
			  $('#window80').TransferTo(
					{
					  to: 'windowOpen80',
					  className: 'transferer2_80',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin80').bind(
			'click',
			function() {
			  $('#windowContent80').SlideToggleUp(300);
			  $('#windowBottom80, #windowBottomContent80').animate({ height: 10 }, 300);
			  $('#window80').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize80').hide();
			  $('#windowMax80').show();
			}
		);
	  $('#windowMax80').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent80'));
			  $('#windowContent80').SlideToggleUp(300);
			  $('#windowBottom80, #windowBottomContent80').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window80').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin80, #windowResize80').show();
			}
		);
	  $('#window80').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop80',
			  handlers: {
			    se: '#windowResize80'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom80, #windowBottomContent80').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent80').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window80').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen77').bind(
			'click',
			function() {
			  if ($('#window77').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window77',
						  className: 'transferer2_77',
						  duration: 400,
						  complete: function() {
						    $('#window77').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose77').bind(
			'click',
			function() {
			  $('#window77').TransferTo(
					{
					  to: 'windowOpen77',
					  className: 'transferer2_77',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin77').bind(
			'click',
			function() {
			  $('#windowContent77').SlideToggleUp(300);
			  $('#windowBottom77, #windowBottomContent77').animate({ height: 10 }, 300);
			  $('#window77').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize77').hide();
			  $('#windowMax77').show();
			}
		);
	  $('#windowMax77').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent77'));
			  $('#windowContent77').SlideToggleUp(300);
			  $('#windowBottom77, #windowBottomContent77').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window77').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin77, #windowResize77').show();
			}
		);
	  $('#window77').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop77',
			  handlers: {
			    se: '#windowResize77'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom77, #windowBottomContent77').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent77').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window77').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen76').bind(
			'click',
			function() {
			  if ($('#window76').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window76',
						  className: 'transferer2_76',
						  duration: 400,
						  complete: function() {
						    $('#window76').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose76').bind(
			'click',
			function() {
			  $('#window76').TransferTo(
					{
					  to: 'windowOpen76',
					  className: 'transferer2_76',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin76').bind(
			'click',
			function() {
			  $('#windowContent76').SlideToggleUp(300);
			  $('#windowBottom76, #windowBottomContent76').animate({ height: 10 }, 300);
			  $('#window76').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize76').hide();
			  $('#windowMax76').show();
			}
		);
	  $('#windowMax76').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent76'));
			  $('#windowContent76').SlideToggleUp(300);
			  $('#windowBottom76, #windowBottomContent76').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window76').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin76, #windowResize76').show();
			}
		);
	  $('#window76').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop76',
			  handlers: {
			    se: '#windowResize76'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom76, #windowBottomContent76').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent76').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window76').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen74').bind(
			'click',
			function() {
			  if ($('#window74').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window74',
						  className: 'transferer2_74',
						  duration: 400,
						  complete: function() {
						    $('#window74').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose74').bind(
			'click',
			function() {
			  $('#window74').TransferTo(
					{
					  to: 'windowOpen74',
					  className: 'transferer2_74',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin74').bind(
			'click',
			function() {
			  $('#windowContent74').SlideToggleUp(300);
			  $('#windowBottom74, #windowBottomContent74').animate({ height: 10 }, 300);
			  $('#window74').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize74').hide();
			  $('#windowMax74').show();
			}
		);
	  $('#windowMax74').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent74'));
			  $('#windowContent74').SlideToggleUp(300);
			  $('#windowBottom74, #windowBottomContent74').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window74').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin74, #windowResize74').show();
			}
		);
	  $('#window74').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop74',
			  handlers: {
			    se: '#windowResize74'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom74, #windowBottomContent74').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent74').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window74').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen71').bind(
			'click',
			function() {
			  if ($('#window71').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window71',
						  className: 'transferer2_71',
						  duration: 400,
						  complete: function() {
						    $('#window71').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose71').bind(
			'click',
			function() {
			  $('#window71').TransferTo(
					{
					  to: 'windowOpen71',
					  className: 'transferer2_71',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin71').bind(
			'click',
			function() {
			  $('#windowContent71').SlideToggleUp(300);
			  $('#windowBottom71, #windowBottomContent71').animate({ height: 10 }, 300);
			  $('#window71').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize71').hide();
			  $('#windowMax71').show();
			}
		);
	  $('#windowMax71').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent71'));
			  $('#windowContent71').SlideToggleUp(300);
			  $('#windowBottom71, #windowBottomContent71').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window71').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin71, #windowResize71').show();
			}
		);
	  $('#window71').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop71',
			  handlers: {
			    se: '#windowResize71'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom71, #windowBottomContent71').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent71').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window71').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen70').bind(
			'click',
			function() {
			  if ($('#window70').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window70',
						  className: 'transferer2_70',
						  duration: 400,
						  complete: function() {
						    $('#window70').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose70').bind(
			'click',
			function() {
			  $('#window70').TransferTo(
					{
					  to: 'windowOpen70',
					  className: 'transferer2_70',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin70').bind(
			'click',
			function() {
			  $('#windowContent70').SlideToggleUp(300);
			  $('#windowBottom70, #windowBottomContent70').animate({ height: 10 }, 300);
			  $('#window70').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize70').hide();
			  $('#windowMax70').show();
			}
		);
	  $('#windowMax70').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent70'));
			  $('#windowContent70').SlideToggleUp(300);
			  $('#windowBottom70, #windowBottomContent70').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window70').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin70, #windowResize70').show();
			}
		);
	  $('#window70').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop70',
			  handlers: {
			    se: '#windowResize70'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom70, #windowBottomContent70').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent70').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window70').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen68').bind(
			'click',
			function() {
			  if ($('#window68').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window68',
						  className: 'transferer2_68',
						  duration: 400,
						  complete: function() {
						    $('#window68').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose68').bind(
			'click',
			function() {
			  $('#window68').TransferTo(
					{
					  to: 'windowOpen68',
					  className: 'transferer2_68',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin68').bind(
			'click',
			function() {
			  $('#windowContent68').SlideToggleUp(300);
			  $('#windowBottom68, #windowBottomContent68').animate({ height: 10 }, 300);
			  $('#window68').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize68').hide();
			  $('#windowMax68').show();
			}
		);
	  $('#windowMax68').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent68'));
			  $('#windowContent68').SlideToggleUp(300);
			  $('#windowBottom68, #windowBottomContent68').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window68').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin68, #windowResize68').show();
			}
		);
	  $('#window68').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop68',
			  handlers: {
			    se: '#windowResize68'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom68, #windowBottomContent68').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent68').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window68').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);

$(document).ready(
	function() {
	  $('.windowOpen67').bind(
			'click',
			function() {
			  if ($('#window67').css('display') == 'none') {
			    $(this).TransferTo(
						{
						  to: 'window67',
						  className: 'transferer2_67',
						  duration: 400,
						  complete: function() {
						    $('#window67').show();
						  }
						}
					);
			  }
			  this.blur();
			  return false;
			}
		);
	  $('#windowClose67').bind(
			'click',
			function() {
			  $('#window67').TransferTo(
					{
					  to: 'windowOpen67',
					  className: 'transferer2_67',
					  duration: 400
					}
				).hide();
				$("#transferHelper").hide();
			}
		);
	  $('#windowMin67').bind(
			'click',
			function() {
			  $('#windowContent67').SlideToggleUp(300);
			  $('#windowBottom67, #windowBottomContent67').animate({ height: 10 }, 300);
			  $('#window67').animate({ height: 40 }, 300).get(0).isMinimized = true;
			  $(this).hide();
			  $('#windowResize67').hide();
			  $('#windowMax67').show();
			}
		);
	  $('#windowMax67').bind(
			'click',
			function() {
			  var windowSize = $.iUtil.getSize(document.getElementById('windowContent67'));
			  $('#windowContent67').SlideToggleUp(300);
			  $('#windowBottom67, #windowBottomContent67').animate({ height: windowSize.hb + 13 }, 300);
			  $('#window67').animate({ height: windowSize.hb + 43 }, 300).get(0).isMinimized = false;
			  $(this).hide();
			  $('#windowMin67, #windowResize67').show();
			}
		);
	  $('#window67').Resizable(
			{
			  minWidth: 200,
			  minHeight: 60,
			  maxWidth: 700,
			  maxHeight: 400,
			  dragHandle: '#windowTop67',
			  handlers: {
			    se: '#windowResize67'
			  },
			  onResize: function(size, position) {
			    $('#windowBottom67, #windowBottomContent67').css('height', size.height - 33 + 'px');
			    var windowContentEl = $('#windowContent67').css('width', size.width - 25 + 'px');
			    if (!document.getElementById('window67').isMinimized) {
			      windowContentEl.css('height', size.height - 48 + 'px');
			    }
			  }
			}
		);
	}
);
