function manageProvince( countryId, provinceId, locale  ){
	if (!locale) locale = 'en'; 
	cc = $('#' + countryId + ' :selected').val();
	$.ajax({
	   type: "POST",
	   url: '/' + locale + '/Ajax',
	   data: "call=Province&c="+cc,
	   success: function(msg){
		$('#' + provinceId).html( msg );
	   }
	 });
}

jQuery(document).ready(function () {
    jQuery("#container").fadeIn("slow");
});

function openPopUp(url, w, h) {
	var windowprops = "width=" + w + ",height=" + h;
	popup = window.open(url,'remote',windowprops);
}

function skipVideo() {
	$('#videoplayer').fadeOut('fast', function() {
			$('#slider-product').fadeIn('fast', function() {
				if ( jQuery('#slider-product').length > 0 ) { core.activateProductHomeGallery(); }
			});
	});
}

function replayVideo(){
	$('#slider-product').fadeOut('fast', function() {
		$('#videoplayer').fadeIn('fast', function() {
		});
	});
}
