﻿<!DOCTYPE html>
<!--[if IE 7 | IE 8]>
<html class="ie" dir="ltr">
<![endif]-->
<!--[if !(IE 7) | !(IE 8)  ]><!-->
<html dir="ltr">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1024,maximum-scale=1.0">
<title>Error 404 - Page Not Found / Seite nicht gefunden</title>
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=edge,chrome=1">  
<meta name="title" content="Error 404 - Page Not Found / Seite nicht gefunden" />
<meta name="keywords" content="error 404,error page,404" />
<meta name="description" content="Error 404 - Page Not Found / Seite nicht gefunden" />
<link rel="shortcut icon" href="https://label-tv.net/templates/default_27_ltv/img/favicon.ico">
<link rel="alternate" type="application/rss+xml" title="Error 404 - Page Not Found / Seite nicht gefunden" href="https://label-tv.net/rss.php" />
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="https://label-tv.net/templates/default_27_ltv/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" media="screen" href="https://label-tv.net/templates/default_27_ltv/css/bootstrap-responsive.min.css">
<!--[if lt IE 9]>
<script src="//css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="https://label-tv.net/templates/default_27_ltv/css/new-style.css">
<link rel="stylesheet" type="text/css" media="screen" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&subset=all" rel="stylesheet" type="text/css">
<!--[if IE]>

<link rel="stylesheet" type="text/css" media="screen" href="https://label-tv.net/templates/default_27_ltv/css/new-style-ie.css">

<link href="//fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans:400italic" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans:700" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Open+Sans:700italic" rel="stylesheet" type="text/css">
<![endif]-->
<link href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<script type="text/javascript">
var MELODYURL = "https://label-tv.net";
var MELODYURL2 = "https://label-tv.net";
var TemplateP = "https://label-tv.net/templates/default_27_ltv";
var _LOGGEDIN_ =  false ;
 
</script>

<script type="text/javascript">
 var pm_lang = {
	lights_off: "Lights off",
	lights_on: "Lights on",
	validate_name: "Please enter a name",
	validate_username: "Please enter a username",
	validate_pass: "Please provide a password",
	validate_captcha: "Please enter the validation code",
	validate_email: "Please enter a valid email address",
	validate_agree: "Please accept our policy",
	validate_name_long: "Your name must consist of at least 2 characters",
	validate_username_long: "Your username must consist of at least 2 characters",
	validate_pass_long: "Your password must be at least 5 characters long",
	validate_confirm_pass_long: "Please enter the same password as above",
	choose_category: "Please choose a category",
	validate_select_file: "No file was selected/uploaded.",
	validate_video_title: "Please enter a title for this video",
	please_wait: "Loading...",
	// upload video page
	swfupload_status_uploaded: "Uploaded",
	swfupload_status_pending: "Continue with the rest of the form.",
	swfupload_status_queued: "Queued",
	swfupload_status_uploading: "Uploading...",
	swfupload_file: "File",
	swfupload_btn_select: "Select",
	swfupload_btn_cancel: "Cancel",
	swfupload_status_error: "Error",
	swfupload_error_oversize: "Size of the selected file(s) is greater than allowed limit",
	swfupload_friendly_maxsize: "",
	upload_errmsg2: "Bad file type",
	// playlist
	playlist_delete_confirm: "Are you sure you want to permanently delete this playlist?\n\nClick 'Cancel' to stop, 'OK' to delete.",
	playlist_delete_item_confirm: "You are about to remove this video from your playlist.\n\nClick 'Cancel' to stop, 'OK' to delete.",
	show_more: "Show more",
	show_less: "Show less",
	delete_video_confirmation: "Are you sure you want to delete this video?",
	browse_all: "Browse All",
	upload_error_unknown: "Unknown error occured"
 }
</script>


<script type="text/javascript" src="https://label-tv.net/js/swfobject.js"></script>
<style type="text/css"></style>
</head>
<body>

<header class="wide-header" id="overview">
<div class="row-fluid fixed960">
	<div class="span3">
	  		<div class="pm-logo-image">
			<a href="https://label-tv.net/index.html" rel="home"><img src="//label-tv.net/uploads/custom-logo.png" alt="Label TV - your music tv network" title="Label TV - your music tv network" border="0" /></a>
		</div>
	     </div>
   
   <div class="span6 wide-header-pad">
		<form action="https://label-tv.net/article.php" method="get" id="search" name="search" onSubmit="return validateSearch('true');">
	<div class="controls">
	  <div class="input-append">
		<input class="span10 pm-search-field" id="appendedInputButton" size="16" name="keywords" type="text" placeholder="Search..." x-webkit-speech speech onwebkitspeechchange="this.form.submit();"><button class="btn" type="submit"><i class="icon-search"></i></button>
	  </div>
	</div>
	</form>
	   </div>

	<div class="span3 hidden-phone">
	<div id="user-pane">
		<div class="user-data">
					<span class="avatar-img avatar-generic">
			<a class="primary ajax-modal" data-toggle="modal" data-backdrop="true" data-keyboard="true" href="#header-login-form" rel="tooltip" title="Login"><img src="https://label-tv.net/templates/default_27_ltv/img/pm-avatar.png" width="40" height="40" alt=""></a>
			</span>
			<span class="greet-links">
				<div class="ellipsis"><strong>Welcome</strong></div>
				<span class=""><a class="primary ajax-modal" data-toggle="modal" data-backdrop="true" data-keyboard="true" href="#header-login-form">Login</a>
								</span>
			</span>
			</div>
			
				<div class="modal modal-narrow hide" id="header-login-form" role="dialog" aria-labelledby="header-login-form-label"> <!-- login modal -->
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h3 id="header-login-form-label">Login</h3>
			</div>
			<div class="modal-body">
				<p></p>
								<form class="form-vertical" name="login_form" id="login-form" method="post" action="https://label-tv.net/login.php">
  <fieldset>
  <div class="control-group">
    <label class="control-label" for="username">Username/Email</label>
    <div class="controls"><input type="text" class="hocusfocus input-large" id="hocusfocus" name="username" value=""></div>
  </div>
  <div class="control-group">
    <label class="control-label" for="pass">Password</label>
    <div class="controls"><input type="password" class="input-large" id="pass" name="pass" maxlength="32" autocomplete="off"></div>
  </div>


    <div class="">
        <div class="controls">
        <button type="submit" name="Login" value="Login" class="btn btn-blue" data-loading-text="Login">Login</button>
        <span class="signup"><small><a href="https://label-tv.net/login.html?do=forgot_pass">Forgot your password?</a></small></span>
        </div>
    </div>
  </fieldset>
</form>			</div>
		</div>

		<div class="modal modal-narrow hide" id="header-register-form" role="dialog" aria-labelledby="header-register-form-label"> <!-- register modal -->
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h3 id="header-register-form-label">Create your account</h3>
			</div>
			<div class="modal-body">
				<p></p>
				<div class="pm-social-accounts">
					<p>Register with your social account</p>
														</div>
				<div class="clearfix"></div>
			</div>
		</div>
					</div><!--.user-data-->
	</div><!--#user-pane-->
</div>
</header>
<nav class="wide-nav">
	<div class="row-fluid fixed960">
		<span class="span12">
		<div class="navbar">
			  <div class="navbar-inner">
				<div class="container">
				  <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				  </a>
				  <div class="nav-collapse">
					<ul class="nav">
					  <li><a href="https://label-tv.net/index.html" class="wide-nav-link">Home</a></li>
					  <li class="dropdown">
													<a href="https://label-tv.net/browse.html" class="dropdown-toggle wide-nav-link disabled" data-target="#" role="button" data-toggle="dropdown">Videos A-9</a>
						                        <ul class="dropdown-menu">
<li class=""><a href="https://label-tv.net/category.php?cat=alternative-indie" class="">Alternative &amp; Indie</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=dance" class="">Dance Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=folk-country" class="">Folk &amp; Country Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=gothic" class="">Gothic Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=metal" class="">Metal Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=pop" class="">Pop Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=rock" class="">Rock Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=urban" class="">Urban Videos</a></li>
<li class=""><a href="https://label-tv.net/category.php?cat=interviews" class="">Interviews</a></li>
                        </ul>
						
					  </li>
					  
					  					  <li class="dropdown">
						<a href="#" class="dropdown-toggle wide-nav-link" data-toggle="dropdown">Articles <b class="caret"></b></a>
						<ul class="dropdown-menu">
						<li><a href="https://label-tv.net/article.php">Latest articles</a></li>
						<li><a href="https://label-tv.net/article.php?show=popular">Most popular</a></li>
						<li><a href="https://label-tv.net/article.php?c=news_de" class="">News in german</a></li>
						<li><a href="https://label-tv.net/article.php?c=news_en" class="">News</a></li>
						</ul>
					  </li>
					  					  <li><a href="https://label-tv.net/topvideos.html?do=recent" class="wide-nav-link">Top videos</a></li>
					  <li><a href="https://label-tv.net/newvideos.html" class="wide-nav-link">New videos</a></li>
					  		
					  <li><a href="https://label-tv.net/contact_us.html" class="wide-nav-link">Contact us</a></li>
					  		
					  										  <li class="dropdown">
						<a href="#" class="dropdown-toggle wide-nav-link" data-toggle="dropdown">About Us <b class="caret"></b></a>
						<ul class="dropdown-menu">
	                        <li><a href="http://www.label-tv.net/profile.html?u=LabelTV">Label TV Profile</a></li>
                        <li><a href="http://www.label-tv.net/page.php?p=9">Downloads</a></li>
                        <li><a href="http://www.label-tv.net/page.php?p=3">Legal notice</a></li>
                        <li><a href="http://www.label-tv.net/page.php?p=33">Privacy Policy</a></li>
                        <li>---- Network ----</li>
                        <li><a href="http://www.newcomeriptv.net" target="_blank">Newcomer TV</a></li>
                        <li><a href="http://www.country-music-tv.com" target="_blank">Country TV</a></li>
                        <li><a href="http://www.rocklabel.tv" target="_blank">Rock Label TV</a></li>
                        <li><a href="http://www.swissrock.tv" target="_blank">Swiss Rock TV</a></li>
                        <li><a href="http://www.chmusic.tv" target="_blank">CH Music TV</a></li>
							</ul>
					  </li>
										</ul>
					<ul class="nav pull-right pm-ul-pages">
					


					<li><a href="http://www.labeltv.com/"><img src="https://label-tv.net/bilder/ico_site.png" alt="Label TV network site" title="LabelTV network site" border="0" width="24" height="24"></a></li>
<li><a href="http://iptv.label-tv.net/label-tv-1_6acff1707.html"><img src="https://label-tv.net/bilder/ico_iptv.png" alt="LabelTV IPTV" title="watch LabelTV IPTV online" border="0" width="24" height="24"></a></li>
<li><a href="http://www.twitter.com/labeltv" target="_blank"><img src="https://label-tv.net/bilder/ico_twitter.png" alt="LabelTV on twitter" title="LabelTV on twitter" border="0" width="24" height="24"></a></li>
<li><a href="http://www.facebook.com/labeltv.net" target="_blank"><img src="https://label-tv.net/bilder/ico_fb.png" alt="Label TV on Facebook" title="Label TV on Facebook" border="0" width="24" height="24"></a></li>
<li><a href="//plus.google.com/100678119836801103155?prsrc=3" rel="publisher" style="text-decoration:none;">
<img src="//ssl.gstatic.com/images/icons/gplus-32.png" alt="Google+" style="border:0;width:24px;height:24px;"></a></li>


	<li>
	<div class="span1">
		 <div id="lang_selector">
	  <div class="btn-group dropup lang-selector hidden-phone" id="lang-selector">
	  <a class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="#"><img src="https://label-tv.net/lang/flags/us.png" width="16" height="10" alt="English" title="English" align="texttop"> <span class="hide">English</span> <span class="caret"></span></a>

	  <ul class="dropdown-menu border-radius0 pullleft lang_submenu">
	  	   	   <li><a href="#" title="Deutsch" name="2" id="lang_select_2">Deutsch</a></li>
	   	  	   	  	  </ul>
	 </div>
		</div>
	</li>

					</ul>

				  </div><!-- /.nav-collapse -->
				</div>
			  </div><!-- /navbar-inner -->
			</div><!-- /navbar -->
	   </span>
	</div>
</nav>
<a id="top"></a>
 
<div id="wrapper">
    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span12 extra-space">
		<div id="primary">
            <h1>Error 404 - Page Not Found / Seite nicht gefunden</h1>
			<p><strong>Error 404 - Page Not Found<br />Your search did not yield any results. Please try searching for similar terms.<br /><br />Error 404 - Seite nicht gefunden<br />Bitte probieren Sie die Suche nach &auml;hnlichen Begriffen.</strong></p>
		</div><!-- #primary -->
        </div><!-- #content -->
      </div><!-- .row-fluid -->
    </div><!-- .container-fluid -->
<a id="back-top" class="hidden-phone hidden-tablet" title="Go Up">
	<i class="icon-chevron-up"></i>
	<span></span>
</a>



</div><!-- end wrapper -->

<div class="row-fluid fixed960">
	<div class="row-fluid">
		<a href="https://label-tv.net/rss.php" title="Error 404 - Page Not Found / Seite nicht gefunden RSS" class="pm-rss-link"><i class="pm-vc-sprite ico_rss"></i> RSS</a>
		</div>
</div>

	
<footer>
<div class="row-fluid fixed960">
	<div class="span8">
	<ul>
				<li><a href="https://label-tv.net/index.html">Home</a></li>
        <li><a href="https://label-tv.net/page.php?p=3">Legal notice</a></li>
	        <li><a href="https://label-tv.net/page.php?p=33">Privacy Policy</a></li>
	        <li><a href="https://label-tv.net/contact_us.html">Contact us</a></li>
					</ul>
	<p>
		&copy; 2019 Label TV - your music tv network. All rights reserved
	</p>
	</div>
	<div class="span3">
	 
	</div>
</div>
</footer>
<div id="lights-overlay"></div>



<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script> 
<script src="https://label-tv.net/templates/default_27_ltv/js/bootstrap.min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.cookee.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.validate.min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/theme.js" type="text/javascript"></script>



<script type="text/javascript"> 
window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website","dismiss":"I agree","learnMore":"More info","link":null,"theme":"cookieconsent-floating"};
</script>
<script type="text/javascript" src="https://label-tv.net/js/cookieconsent.min.js"></script>


<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.maskedinput-1.3.min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.tagsinput.min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/jquery-scrolltofixed-min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.uniform.min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.ba-dotimeout.min.js" type="text/javascript"></script>

<script src="https://label-tv.net/js/jquery.typewatch.js" type="text/javascript"></script>

<script type="text/javascript" src="https://label-tv.net/js/bootstrap-notify.min.js"></script>
<script src="https://label-tv.net/js/melody.dev.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/melody.dev.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/lightbox.min.js" type="text/javascript"></script>
<script type="text/javascript">
// Global settings for notifications
$.notifyDefaults({
	// settings
	element: 'body',
	position: null,
	type: "info",
	allow_dismiss: true,
	newest_on_top: true,
	showProgressbar: false,
	placement: {
		from: "top", // top, bottom
		align: "right" // left, right, center
	},
	offset: {
		x: 20,
		y: 100
	  },
	spacing: 10,
	z_index: 1031,
	delay: 10000,
	timer: 1000,
	url_target: '_blank',
	mouse_over: null,
	animate: {
		enter: 'animated fadeInDown',//'animated fadeIn',
		exit: 'animated fadeOutUpBig',//'animated fadeOut'
	},
	onShow: null,
	onShown: null,
	onClose: null,
	onClosed: null,
	template: '<div data-notify="container" class="growl alert alert-{0}" role="alert">' +
				'<button type="button" aria-hidden="true" class="close" data-notify="dismiss">&times;</button>' +
				'<span data-notify="icon"></span> ' +
				'<span data-notify="title">{1}</span> ' +
				'<span data-notify="message">{2}</span>' +
				'<div class="progress" data-notify="progressbar">' +
					'<div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>' +
				'</div>' +
				'<a href="{3}" target="{4}" data-notify="url"></a>' +
			'</div>',
	PM_exitAnimationTimeout: 0 // PHP Melody custom settings
});
</script>




<script type="text/javascript">
$(document).ready(function () {
	// live search
	$('#appendedInputButton').typeWatch({
		callback: function() {
			$.ajax({
				type: "POST",
				url: MELODYURL2 + "/ajax_search.php",
				data: {
					"queryString": $('#appendedInputButton').val()
				},
				dataType: "html",
				success: function(b) {
					if (b.length > 0) {
						$("#autoSuggestionsList").html(b);
						
						$(".suggestionsBox").show(function() {
							
							var $listItems = $('#autoSuggestionsList').find('li');
							
							$('#appendedInputButton').keydown(function(e) {
								var key = e.keyCode,
									$selected = $listItems.filter('.selected'),
									$current;

								if(key == 38 || key == 40) {
									e.preventDefault();
								}

								if ( key != 40 && key != 38 ) return;

								$listItems.removeClass('selected');

								if ( key == 40 ) // Down key
								{
									if ( ! $selected.length || $selected.is(':last-child') ) {
										$current = $listItems.eq(0);
									}
									else {
										$current = $selected.next();
									}
								}
								else if ( key == 38 ) // Up key
								{
									if ( ! $selected.length || $selected.is(':first-child') ) {
										$current = $listItems.last();
									}
									else {
										$current = $selected.prev();
									}
								}

								$current.addClass('selected');
								$selected_url = $current.find('a').attr('href');

								$selected_id = $current.attr('data-video-id');

								($('#pm-video-id').val($selected_id));
							});
						});
					} else {
						$(".suggestionsBox").hide();
					}
				}
			});
		},
		wait: 400,
		highlight: true,
		captureLength: 3
	});
});
</script>


 


	
	<script type="text/javascript">
		$('#header-login-form').on('shown', function () {
			$('.hocusfocus').focus();
		});
	</script>
	

<script src="https://label-tv.net/templates/default_27_ltv/js/waypoints.min.js" type="text/javascript"></script>
<script src="https://label-tv.net/templates/default_27_ltv/js/melody.social.dev.js" type="text/javascript"></script> 



<script src="https://label-tv.net/templates/default_27_ltv/js/jquery.cropit.js" type="text/javascript"></script>
<script type="text/javascript"> 
$(function() {
	var cropit_avatar_notify = null;
	var cropit_cover_notify = null;
	var cropit_notify_type = 'info';
	
	// Avatar
	$('.pm-profile-avatar-pic').cropit({
		smallImage: 'allow',
		// width: 240, 
		// height: 240,
		width: 120,
		height: 120,
		preview: '.pm-profile-avatar-preview',
		onImageLoading: function(){
			cropit_avatar_notify = $.notify({message: pm_lang.please_wait}, {type: cropit_notify_type});
		},
		onImageLoaded: function() {
			cropit_avatar_notify.close();
		},
		onImageError: function(){
			cropit_avatar_notify.close();
		}
	});

	$('#btn-edit-avatar').click(function() {
	  $('#cropit-avatar-input').click();
	  $('#cropit-avatar-form').css('visibility', 'visible');
	  $('.cropit-image-preview').removeClass('animated fadeIn');
	});

	$('.btn-cancel-avatar').click(function() {
		$('.pm-profile-avatar-pic .cropit-image-preview').removeClass('cropit-image-loaded').addClass('animated fadeIn');
		$('#cropit-avatar-form').css('visibility', 'hidden');
		return false;
	});

	$('form#cropit-avatar-form').submit(function() {
		
		var image_data = $('.pm-profile-avatar-pic').cropit('export', {
			type: 'image/jpeg',
			quality: .9,
			fillBg: '#333'
		});
		
		// Move cropped image data to hidden input
		$('.hidden-avatar-data-img').val(image_data);
		
		$.ajax({
			url: MELODYURL2 + "/ajax.php",
			type: "POST",
			dataType: "json",
			data: $('#cropit-avatar-form').serialize(),
			beforeSend: function(jqXHR, settings) {
				// clean error message container
				//cropit_avatar_notify.close();
				$.notifyClose();
				cropit_avatar_notify = $.notify({message: pm_lang.swfupload_status_uploading}, {type: cropit_notify_type});
			},
		})
		.done(function(data){
			cropit_avatar_notify.close();
			if (data.success) { 
				// hide form action buttons 
				$('#cropit-avatar-form').css('visibility', 'hidden');
				
				// reset background with uploaded image 
				$('.pm-profile-avatar-pic .cropit-image-preview img').attr('src', data.file_url);
				
				// stop image movement ability
				$('.pm-profile-avatar-pic .cropit-image-preview').addClass('animated fadeIn');
				// timeout required to allow time for the uploaded image to load before removing the current image obj (and avoid a image-swapping 'glitch')
				setTimeout(function(){
					$('.pm-profile-avatar-pic .cropit-image-preview').removeClass('cropit-image-loaded')
				}, 700);
				
				// unload selected image to let the user re-select the same image
				$('.pm-profile-avatar-pic input.cropit-image-input')[0].value = null;
			}
			cropit_avatar_notify = $.notify({message: data.msg}, {type: data.alert_type});
		});

		return false;
	});
	
	var cropit_cover_height = parseInt($('.pm-profile-cover-preview').attr('data-cropit-height'));
	if ( ! cropit_cover_height) {
		cropit_cover_height = 200;
	}
		
	// Cover
	$('.pm-profile-cover-preview').cropit({
		smallImage: 'allow',
		height: cropit_cover_height,
		onImageLoading: function(){
			cropit_cover_notify = $.notify({message: pm_lang.please_wait}, {type: cropit_notify_type});
		},
		onImageLoaded: function() {
			cropit_cover_notify.close();
		},
		onImageError: function(){
			cropit_cover_notify.close();
		}
	});

	$('#btn-edit-cover').click(function() {
	  $('#cropit-cover-input').click();
	  $('#cropit-cover-form').css('visibility', 'visible');
	  $('.cropit-image-preview').removeClass('animated fadeIn');
	});

	$('.btn-cancel').click(function() {
		$('.pm-profile-cover-preview .cropit-image-preview').removeClass('cropit-image-loaded').addClass('animated fadeIn');
		$('#cropit-cover-form').css('visibility', 'hidden');
		return false;
	});

	$('form#cropit-cover-form').submit(function() {
		
		var image_data = $('.pm-profile-cover-preview').cropit('export', {
			type: 'image/jpeg',
			quality: .9,
			fillBg: '#333'
		});
		
		// Move cropped image data to hidden input
		$('.hidden-cover-data-img').val(image_data);
		
		$.ajax({
			url: MELODYURL2 + "/ajax.php",
			type: "POST",
			dataType: "json",
			data: $('#cropit-cover-form').serialize(),
			beforeSend: function(jqXHR, settings) {
				// clean error message container
				//cropit_cover_notify.close();
				$.notifyClose();
				cropit_cover_notify = $.notify({message: pm_lang.swfupload_status_uploading}, {type: cropit_notify_type});
			},
		})
		.done(function(data){
			cropit_cover_notify.close();
			if (data.success) { 
				// hide form action buttons 
				$('#cropit-cover-form').css('visibility', 'hidden');
				
				// reset background with uploaded image 
				$('.pm-profile-cover-preview .cropit-image-preview img').attr('src', data.file_url);
				
				// stop image movement ability
				$('.pm-profile-cover-preview .cropit-image-preview').addClass('animated fadeIn');
				// timeout required to allow time for the uploaded image to load before removing the current image obj (and avoid a image-swapping 'glitch')
				setTimeout(function(){
					$('.pm-profile-cover-preview .cropit-image-preview').removeClass('cropit-image-loaded')
				}, 700);
				
				// unload selected image to let the user re-select the same image
				$('.pm-profile-cover-preview input.cropit-image-input')[0].value = null;
			}
			cropit_cover_notify = $.notify({message: data.msg}, {type: data.alert_type});
		});

		return false;
	});
});
</script>


</body>
</html>