$(function () {
	var austDay = new Date();
	austDay = new Date(2012, 05, 01);
	$('#defaultCountdown').countdown({until: austDay});
	$('#year').text(austDay.getFullYear());
});

function InsertObject()

{

	document.write('<object');

	document.write('        classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');

	document.write('        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8.0.22.0"');

	document.write('        id="Movie2"');

	document.write('        width="180" height="200"');

	document.write('      >');

	document.write('        <param name="quality" value="high">');

	document.write('        <param name="movie" value="http://bazinski.softhouse.bg/images/flash/belogr.swf">');

	document.write('        <param name="wmode" value="transparent">');

	document.write('        <embed');

	document.write('          type="application/x-shockwave-flash"');

	document.write('          pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"');

	document.write('          name="Movie2"');

	document.write('          width="180" height="200"');

	document.write('          src="http://bazinski.softhouse.bg/images/flash/belogr.swf"');

	document.write('          bgcolor="#FFFFFF"');

	document.write('          quality="high"');

	document.write('          wmode="transparent"');

	document.write('        >');

	document.write('          <noembed>');

	document.write('          </noembed>');

	document.write('        </embed>');

	document.write('      </object>');

}



function InsertObject1()

{

	document.write('<object');

	document.write('        classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');

	document.write('        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8.0.22.0"');

	document.write('        id="Movie1"');

	document.write('        width="1" height="1"');

	document.write('      >');

	document.write('        <param name="movie" value="http://bazinski.softhouse.bg/images/flash/4.swf">');

	document.write('        <param name="quality" value="high">');

	document.write('        <param name="wmode" value="transparent">');

	document.write('        <embed');

	document.write('          type="application/x-shockwave-flash"');

	document.write('          pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"');

	document.write('          name="Movie1"');

	document.write('          width="1" height="1"');

	document.write('          src="http://bazinski.softhouse.bg/images/flash/4.swf"');

	document.write('          bgcolor="#FFFFFF"');

	document.write('          quality="high"');

	document.write('          wmode="transparent"');

	document.write('        >');

	document.write('          <noembed>');

	document.write('          </noembed>');

	document.write('        </embed>');

	document.write('      </object>');

}
function clicked(id) {
	var clicked = id;
	   $.ajax({ 
	   type: "POST",
	   url: my_url + "ajax_clicked.php",
	   data: "clicked="+ clicked,
	   success: function(msg){
		//alert(msg);
		}
	});
}
