// JavaScript Document
		function ShowForm() {
			var desc = "#white";
			if ($(desc).hasClass("nere")) {
				$(desc).animate({ height: "+=450px" }, 500);
				$(desc).toggleClass("nere");
			} else {
				$(desc).animate({ height: "-=450px" }, 500);

				$(desc).toggleClass("nere");


			}
		}
$(document).ready(function(){		
var options = { 
	target:        '#alert',
	beforeSubmit:  showRequest,
	success:       showResponse
	}; 
	
	$('#contactForm').ajaxForm(options);
	
	$('.media').media({ 
    width:     408, 
    height:    250, 
    autoplay:  true, 
    src:       'http://www.multigames.com/e/?t=gh&amp;cid=EKn57X5O&amp;tfu=Guitar_Hero_II', 
    attrs:     { attr1:  'attrValue1',  attr2:  'attrValue2' },  // object/embed attrs 
    params:    { wmode: 'transparent' }, // object params/embed attrs 
    caption:   false // supress caption text 
	}); 
$("#autostart").fancybox({frameWidth:838,frameHeight:540}).trigger('click'); 
}); 

	function showRequest(formData, jqForm, options) { 
	var queryString = $.param(formData); 
	return true; 
	} 
	function showResponse(responseText, statusText)  {  
	} 
	$.fn.clearForm = function() {
	  return this.each(function() {
		var type = this.type, tag = this.tagName.toLowerCase();
		if (tag == 'form')
		  return $(':input',this).clearForm();
		if (type == 'text' || type == 'password' || tag == 'textarea')
		  this.value = '';
		else if (type == 'checkbox' || type == 'radio')
		  this.checked = false;
		else if (tag == 'select')
		  this.selectedIndex = -1;
	  });
	};
