$(document).ready(function() {
	$('#s3slider').s3Slider({
      timeOut: 3000
    });

	// if the function argument is given to overlay,
	// it is assumed to be the onBeforeLoad event listener
	//$("a[rel]").overlay({

	//	onBeforeLoad: function() {

			// grab wrapper element inside content
	//		var wrap = this.getContent().find(".contentWrap");

			// load the page specified in the trigger
	//		wrap.load(this.getTrigger().attr("href"));
	//	}

	//});

	var profile =
	{
		music:
		{
			height:201,
			width:300,
			toolbar:0,
			scrollbars:0,
			status:0,
			resizable:0,
			left:20,
			top:20,
			center:0,
			createnew:1
		}
	};


	$(".popupwindow").popupwindow(profile);
});