String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); };
function Denon() {
	this.ajax = new Ajax( "/index.php" );
}
function $(id)
{
	return document.getElementById( id ); 
}

function $N(name)
{
	return document.getElementsByName( name );
}
function $E( movieName ) {
     if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
    }
    else {
        return document[movieName]
    }
}
Denon.prototype.validateSignup = function( frm_name, use_asterisks ) {
	var invalid = 0;
	
	var form = frm_name;

    for ( var i = 0; i < form.length; i++ )
    {
        var cur_element = form.elements[i];
		
        // Text fields
        if ( cur_element.type == "text" || cur_element.type == "textarea" || cur_element.type == "password" || cur_element.tagName.toLowerCase() == "select" )
        {
            // Trim value
            cur_element.value = cur_element.value ? cur_element.value.trim() : "";

            if ( !cur_element.getAttribute( "optional" ) && ( ( cur_element.tagName.toLowerCase() == "select" && cur_element.value == 0 ) || (!cur_element.value || cur_element.value.length == 0 ) ) )
            {
                //alert( cur_element.error_message ? cur_element.error_message : "Field " + cur_element.name + " cannot be blank." );
				if ( use_asterisks )
					if ( !( cur_element.nextSibling && cur_element.nextSibling.nodeType == 1 && cur_element.nextSibling.className.indexOf( "__validation_element" ) != -1 ) )					
					{
						var span = document.createElement( "span" );
						span.innerHTML = "***";
						span.className = "__validation_element invalid";
						
						var ref = cur_element.nextSibling;
						
						if ( ref )
							cur_element.parentNode.insertBefore( span, ref );
						else
							cur_element.parentNode.appendChild( span );
					}
				
                cur_element.className = cur_element.className + " invalid";
                invalid++;
                continue;
            }
        }
		
		if ( cur_element.nextSibling && cur_element.nextSibling.nodeType == 1 && cur_element.nextSibling.className.indexOf( "__validation_element" ) != -1 )
			cur_element.parentNode.removeChild( cur_element.nextSibling );
		
		cur_element.className = cur_element.className.replace( /[ ]*invalid/gi, '' );
    }

    if ( invalid > 0 ) {
        alert( "Please complete the marked field" + ( invalid > 1 ? "s" : "" ) + " before continuing" );
        return false;
    }
	if( $('email').value != $( 'confirmemail' ).value && $('email').value.trim() != "") {
		$( "Error" ).innerHTML = "Emails do not match";
		return false;
	}
	else if( $('password').value != $( 'confirmpassword' ).value  && $('password').value.trim() != "") {
		$( "Error" ).innerHTML = "Passwords do not match";
		return false;
	}
	if( !$( 'age').checked ) {
		alert( "You must confirm your age" );
		return false;
	}
	if( !$( 'tos').checked ) {
		alert( "You must agree to the terms" );
		return false;
	}
	return true;
}
Denon.previousListenMenu = false;
Denon.previousPlay = 0;
Denon.prototype.ListenMenu = function( opt, style, sort, page, sound ) {
	if( Denon.previousListenMenu ) {
		//hide previous
		Denon.previousListenMenu.src = Denon.previousListenMenu.src.replace( "_on", "_off" );
		Denon.previousListenMenu.parentNode.className = "SubMenuItem";
		
		$E( 'flash_player' ).JS_Stop( Denon.previousPlay );
		
		denon.previousPlay = 0;
	}
	//show this
	opt.src = opt.src.replace( "_off", "_on" );
	opt.parentNode.className = "SubMenuItem active";
	//denon.featuredTab( style );
	Denon.previousListenMenu = opt;
	//AJAX PAGE CALL id=ListenContent
	this.ajax.SetData( "action", 101 );
	this.ajax.SetData( "style", style );
	this.ajax.SetData( "sort", sort );
	this.ajax.SetData( "page", page );
	this.ajax.SetData( "sound", sound );
	AjaxNavigation.setParams( this.ajax.QueryArray );
	AjaxNavigation.updateAddress();	
	this.ajax.Register( Denon.ListenPageHandler );
	this.ajax.SendRequest("GET");
}
Denon.prototype.ListenFilter = function( style, sort, page ) {
	denon.previousPlay = 0;
	this.ajax.SetData( "action", 101 );
	this.ajax.SetData( "style", style );
	this.ajax.SetData( "sort", sort );
	this.ajax.SetData( "page", page );
	
	AjaxNavigation.setParams( this.ajax.QueryArray );
	AjaxNavigation.updateAddress();
	
	this.ajax.Register( Denon.ListenPageHandler );
	this.ajax.SendRequest("GET");
}
Denon.ListenPageHandler = {
	onCreate: function() {
		$('ListenContent').innerHTML = '<div class="AjaxLoader"><div style="float: left;margin: 2px 0 0 10px;"><img src="http://static.mash.denondj.com/denondj/images/ajax-loader.gif" /></div><div style="float: left;margin: 4px 0 0 5px;">Loading Tracks...</div><br style="clear: both;"/></div>';
	},
	onSuccess: function(data) {
		$('ListenContent').innerHTML = data;
	}	
}
Denon.prototype.playerStart = function( id ) {
	if( $( "playbtn_" + id ).src == "http://static.mash.denondj.com/denondj/images/listen/stop.gif" ) {
		denon.playerStop( id );
	} else {
		if( $( "playbtn_" + id ).src != "http://static.mash.denondj.com/denondj/images/listen/soundloader.gif" ) {
			if( denon.previousPlay ) {
				denon.playerStop( denon.previousPlay );
			}
			$E( 'flash_player' ).JS_Play( id );
			$( "playbtn_" + id ).src = "http://static.mash.denondj.com/denondj/images/listen/soundloader.gif";
			denon.previousPlay = id;
		}
	}
}
Denon.prototype.playerInProgress = function ( id ) {
	$( "playbtn_" + id ).src = "http://static.mash.denondj.com/denondj/images/listen/stop.gif";
}
Denon.prototype.playerStop = function( id ) {
	$E( 'flash_player' ).JS_Stop( id );
	$( "playbtn_" + id ).src = "http://static.mash.denondj.com/denondj/images/listen/play.gif";
	denon.previousPlay = 0;
	return false;
}
Denon.prototype.handleStop = function( id ) {
	$E( 'flash_player' ).JS_Stop( id );
	$( "playbtn_" + id ).src = "http://static.mash.denondj.com/denondj/images/listen/play.gif";
	$( "playbtn_" + id ).setAttribute( "onclick", "denon.playerStart( " + id + " );return false;");
		Denon.previousPlay = 0;
}
Denon.previousFeaturedTab = "hiphop";
Denon.prototype.featuredTab = function( id ) {
	/*if( Denon.previousFeatuedTab != false ) {
		$( 'featured_' + Denon.previousFeaturedTab ).style.display = "none";
		$( "listen_featured_" + Denon.previousFeaturedTab).src = "http://static.mash.denondj.com/denondj/images/listen/featured/" + Denon.previousFeaturedTab + "_off.gif";
		$( "listen_featured_" + Denon.previousFeaturedTab).style.margin = "10px 0 0 5px";
		
	}
	$( 'featured_' + id ).style.display = "block";
	$( "listen_featured_" + id).src = "http://static.mash.denondj.com/denondj/images/listen/featured/" + id + "_on.gif";
	$( "listen_featured_" + id).style.margin = "1px 0 0 5px";
	switch( id ) {
		case "house":
			$('featured_text').innerHTML = "HOUSE";
		break;
		case "hiphop":
			$('featured_text').innerHTML = "HIP HOP";
		break;
		case "rockalt":
			$('featured_text').innerHTML = "ROCK/ALTERNATIVE";
		break;
	}
	Denon.previousFeaturedTab = id;*/
}
Denon.prototype.showRating = function( id ) {
	denon.playerStop( id );
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "Rate this track: <input type='radio' name='rate' value='1' onclick='denon.rate( " + id + ", this.value );' /> 1 <input type='radio' name='rate' value='2' onclick='denon.rate( " + id + ", this.value );' /> 2 <input type='radio' name='rate' value='3' onclick='denon.rate( " + id + ", this.value );' /> 3 <input type='radio' name='rate' value='4' onclick='denon.rate( " + id + ", this.value );' /> 4 <input type='radio' name='rate' value='5' onclick='denon.rate( " + id + ", this.value );' /> 5";
	
	container.innerHTML = formString;
  	
	Lightbox.show({content: container});
	return false;
}
Denon.prototype.rate = function( id, value ) {	
	this.ajax.SetData( "action", 102 );
	this.ajax.SetData( "id", id );
	this.ajax.SetData( "value", value );
	this.ajax.Register( Denon.VoteHandler );
	this.ajax.SendRequest("GET");
}
Denon.VoteHandler = {
	onCreate: function() {
		$('loginForm').innerHTML = '<div class="AjaxLoader"><div style="float: left;margin: 2px 0 0 10px;"><img src="http://static.mash.denondj.com/denondj/images/ajax-loader.gif" /></div><div style="float: left;margin: 4px 0 0 5px;">Submitting Vote</div><br style="clear: both;"/></div>';
	},
	onSuccess: function(data) {
		$('loginForm').innerHTML = "Thanks for your vote";
	}	
}
Denon.prototype.checkUpload = function( ) {
	if( $('hiddenStyle').value == "" ) {
		alert( "You must select a genre: " + $('hiddenStyle').value );
		return false;
	} else {
		return true;
	}
	if( $('title').value == "" ) {
		alert( "You must enter a track title" );
		return false;
	}
}
Denon.prototype.showForward = function( id ) {
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "	<div style=''>"
  	+"		<div style='float: left; width: 100px;'>Email Address:</div>"
  	+"		<div style='float: left;'><input type='text' id='email' style='width: 300px;border: 0px;margin: 0px;'></div>"
  	+"	</div><div>Comma seperated, limit 20 addresses</div><br style='clear: both;'/>"
  	+"	<div style='margin: 10px 0 0 0;'>"
  	+"		<div style='float: left; width: 100px;'>Message:</div>"
  	+"		<div style='float: left;'><textarea id='message' style='width: 300px; height: 150px;border: 0px;margin: 0px;'></textarea></div>"
  	+"	</div><br style='clear: both;'/>"
  	+"	<div style='text-align: center;clear: both;margin: 5px 0 0 0;' id='msg'><input type='button' onclick='denon.SendMessage( " + id + " );' value='Send!' /></div><div>No spamming please! It's against the rules.</div>";
	
	container.innerHTML = formString;
  	
	Lightbox.show({content: container});
	return false;
}
Denon.MessageHandler = {
	onCreate: function() {
		$('email').disabled = true;
		$('message').disabled = true;
		$('msg').innerHTML = '<div class="AjaxLoader"><div style="float: left;margin: 2px 0 0 10px;"><img src="http://static.mash.denondj.com/denondj/images/ajax-loader.gif" /></div><div style="float: left;margin: 4px 0 0 5px;">Sending Email</div><br style="clear: both;"/></div>';
	},
	onSuccess: function(data) {
		$('email').value = "";
		$('message').value = "";
		$('email').disabled = false;
		$('message').disabled = false;
		$('msg').innerHTML = "<input type='button' onclick='denon.SendMessage( );' value='Send!' /> Email Sent! Thank you.";
	}	
}
Denon.prototype.SendMessage = function ( id ) {
	this.ajax.SetData( "action", 103 );
	this.ajax.SetData( "email", $('email').value );
	this.ajax.SetData( "message", $('message').value );
	this.ajax.SetData( "d", id );
	this.ajax.Register( Denon.MessageHandler );
	this.ajax.SendRequest("POST");
}

Denon.previousSample = "hiphop";
Denon.prototype.showSample = function ( id ) {
	if( Denon.previousSample ) {
		$( 'sample_' + Denon.previousSample ).style.display = "none";
		$( "sampletab_" + Denon.previousSample).src = "http://static.mash.denondj.com/denondj/images/profile/sample/" + Denon.previousSample + "_off.gif";
		$( "sampletab_" + Denon.previousSample).style.margin = "10px 0 0 3px";
	}
	switch( id ) {
		case "house":
			$('sampletrackstitle').innerHTML = "HOUSE";
			$('genrename').innerHTML = "HOUSE";
		break;
		case "hiphop":
			$('sampletrackstitle').innerHTML = "HIP HOP";
			$('genrename').innerHTML = "HIP HOP";
		break;
		case "rockalt":
			$('sampletrackstitle').innerHTML = "ROCK/ALT";
			$('genrename').innerHTML = "ROCK/ALT";
		break;
	}
	$('sample_' + id).style.display = "block";
	$( "sampletab_" + id ).src = "http://static.mash.denondj.com/denondj/images/profile/sample/" + id + "_on.gif";
	$( "sampletab_" + id ).style.margin = "0 0 0 3px";
	Denon.previousSample = id;
}
//denon.uploadToggle(); 
Denon.prototype.uploadToggle = function( usr ) {	
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "<div><b>Uploading Track</b>... <br/>After uploading, the track must be approved before it is available for listening.</div><div style='width: 300px;border: 1px solid #FFF;'><div style='text-align: center;background-color: #2b2b2b;width: 1px;padding: 10px 0 10px 0;' id='pp'>&nbsp;</div></div><div style='width: 300px; text-align: center; margin: 10px 0 0 0;'><a href='#' onclick='Lightbox.hide( );return false;'><img src='http://static.mash.denondj.com/images/profile/upload/cancel.gif' style='border: 0px; cursor: pointer;' /></a></div>";
	
	container.innerHTML = formString;
  	
	Lightbox.show({content: container, onClose: function(){ window.location='http://mash.denondj.com/user/?d=' + usr; } });
	return false;
}
Denon.guid = null;
Denon.uploadHandler = {
	onCreate: function() {
		
	},
	onSuccess: function(data) {
		if( data > 20 ) {
			$('pp').innerHTML = data + "%";
		}
		$('pp').style.width = ( ( data * .01 ) * 290 )+ "px";
		setTimeout( 'denon.uploadStatus( \'' + Denon.guid + '\' )', 2000 );
	}	
}

Denon.prototype.uploadStatus = function( id ) {
	Denon.guid = id;
	this.ajax.SetData( "action", 104 );
	this.ajax.SetData( "id", id );
	this.ajax.Register( Denon.uploadHandler );
	this.ajax.SendRequest("GET");
}

Denon.prototype.SendMessage = function ( id ) {
	this.ajax.SetData( "action", 103 );
	this.ajax.SetData( "email", $('email').value );
	this.ajax.SetData( "message", $('message').value );
	this.ajax.SetData( "d", id );
	this.ajax.Register( Denon.MessageHandler );
	this.ajax.SendRequest("POST");
}
Denon.prototype.partnerToggle = function( p ) {
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "";
  	switch( p ) {
  		case "ax":
  			formString = "A|X Armani Exchange is accessible Armani, inspired by street - chic culture, fashionable dance music and everything that signifies freedom and personal style. Armani Exchange launched in 1991 and currently has 118 worldwide including New York, Los Angeles, Miami, UK, Japan and Argentina.  For more information, log onto <a href='http://www.armaniexchange.com/' target='_blank'>www.armaniexchange.com</a>";
  		break;
  		case "gc":
  			formString = "Guitar Center is the leading United States retailer of guitars, amplifiers, percussion instruments, keyboards and pro-audio and recording equipment. Our retail store subsidiary presently operates more than 210 Guitar Center stores across the United States. In addition, our Music & Arts division operates more than 95 stores specializing in band instruments for sale and rental, serving teachers, band directors, college professors and students. We are also the largest direct response retailer of musical instruments in the United States through our wholly owned subsidiary, Musician's Friend, Inc., and its catalogs and websites, including <a href=\"www.musiciansfriend.com\" target=\"_blank\">www.musiciansfriend.com</a>, <a href=\"http://www.guitarcenter.com\" target=\"_blank\">www.guitarcenter.com</a>, <a href=\"http://www.wwbw.com/\" target=\"_blank\">www.wwbw.com</a> and <a href=\"http://www.music123.com\" target=\"_blank\">www.music123.com</a>. More information on Guitar Center can be found by visiting the Company's web site at <a href=\"http://www.guitarcenter.com\" target=\"_blank\">www.guitarcenter.com</a>";
  		break;
  		case "tb":	
  			formString = "Started by Tom Silverman in his cramped New York City apartment in early 1981, Tommy Boy released the definitive hip-hop 12\" single, Planet Rock by Afrika Bambaataa and the Soul Sonic Force. The single quickly went gold, moving over 600,000 units, and being among the only 12\" singles to ever do so. It is one of the most sampled songs in the history of recorded music. Its beat and production style is credited with inspiring and launching new music genres from Freestyle and Miami Bass to West Coast Rap and Dirty South. Tommy Boy has been awarded SEVENTY-SEVEN combined Gold, Platinum, and Multi-Platinum certifications from the Recording Industry Association of America.  Tommy Boy coined the term and was the first label to ever place bonus beats on records, they created the Maxi format for cassettes and CDs and they were the first label to bring hip hop international. <a href='http://www.tommyboy.com' target='_blank'>www.tommyboy.com</a>";
  		break;
  		case "bp":
  			formString = "Beatport is the online leader for electronic music downloads providing music to DJs and fans for personal use as well as playback on the world's leading sound systems. Launched in 2004, Beatport now gives customers legal and secure access to a library of 155,000 tracks from over 4,200 of the world's leading independent labels, and is growing by as many as 100 new labels a month. Beatport is privately held and headquartered in Denver, Colorado, USA. <a href='http://www.beatport.com' target='_blank'>www.beatport.com</a>";
  		break;
  		case "pc":
  			formString = "Digital 1 DJ, based in sunny Clearwater Florida, is a leading manufacturer of software and hardware solutions for today's DJ's.  Digital 1 DJ's brand, PCDJ (Personal Computer Disc Jockey), was created in 1999 by DJ's and musicians that sought out a new and innovative way to DJ.  The PCDJ suite of advanced, digital products is the acknowledged industry leader, enabling professional DJs to have significantly enhanced control over their original performances.<a href='http://www.PCDJ.com/' target='_blank'>PCDJ.com</a>";
  		break;
  		case "dd":
  			formString = "<h1>Denon DJ</h1>Denon DJ is proud to host the \"Mix & Mash Challenge.\" As a leading manufacturer of reliable, premium-grade DJ equipment, the company offers a broad range of high-performance products for working DJs. The company's comprehensive product line ranges from advanced professional media players and controllers to high-performance mobile mixers, portable CD/MP3 players, headphones and more.  All Denon DJ products are designed to provide flexible and reliable options for DJs working anything from small parties to weddings, club engagements and outdoor events. Visit <a href=\"http://www.denondj.com/\" target=\"_blank\" >www.denondj.com</a> ";
  		break;
  	}
	
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.showPerma = function( id, style ) {
var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "Copy and paste the url anywhere to have a direct link to the track.<br/><input style='width: 300px;' type='text' value='http://mash.denondj.com/listen.php#style:" + style + ",sort:newest,page:0,sound:" + id + "' />";
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.showEmbed = function( id ) {
var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "Copy and paste the embed code to embed this track anywhere<br/><textarea style='width: 300px; height: 50px;' onfocus='this.select( );'>&lt;embed src=&quot;http://static.mash.denondj.com/denondj/swf/embed.swf?d=" + id + "&quot; height=&quot;70&quot; width=&quot;265&quot;&gt;&lt;/embed&gt;</textarea>";
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.showRules = function () {
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left; height: 500px;overflow: auto;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = '<div style="height: 500px; width: 390px; overflow: auto;"><h1>Rules </h1>DENON DJ MIX AND MASH CHALLENGE CONTEST OFFICIAL RULES<br/><br/>NO PURCHASE NECESSARY TO ENTER OR WIN THE CONTEST. VOID WHERE PROHIBITED. <br/>THIS CONTEST IS SPONSORED BY D&M Pro, a division of Marantz America, Inc. ("D&M Pro" or the "Sponsor"). <br/><br/>1. WHO IS ELIGIBLE: The Denon DJ Mix and Mash Challenge Contest ("the Contest") is open to legal residents of the fifty United States and the District of Columbia who are at least 18 years of age and have Internet access. Employees and agents of Sponsor, its respective affiliates, subsidiaries, advertising and promotion agencies, any other prize sponsor, and any entity involved in the development, production, implementation, administration or fulfillment of the Contest (all of the foregoing, together with Sponsor, collectively referred to as "Promotion Entities"), and their immediate family members and/or those living in the same household of such persons, are not eligible to enter the Contest. <br/><br/>2. WHAT IS THE CONTEST:  NO PURCHASE NECESSARY. The Contest is a skill based competition in which participants will compete by submitting their best recorded audio mix consisting solely of the music, sounds and audio made available by Sponsor on the Contest website ("Mix"), located at mash.denondj.com  (the "Contest Site"). The Contest features two rounds, as described further below.  In Round One, eligible entrants will be asked to submit to the Contest Site their best recorded audio mix based on content made available by Sponsor; based on ratings by the public and a panel of judges, six (6) Finalists will be selected to move on to Round Two.  Round Two Finalists will be asked to upload to the Contest Site another audio mix consisting solely of  new content made available by Sponsor for Round Two.  A Grand Prize Winner will be selected from among the Finalists.<br/><br/>3.  ROUND ONE - REGISTRATION, ENTRY AND SELECTION OF FINALISTS <br/><br/><br/>Contest Registration:  Any individual wishing to participate in the Contest must first register to participate, thereby becoming an eligible participant (a "Contest Entrant").  The registration period opens on May 14, 2007 at 9AM PDT ("Registration Start Date").  Registration is free and available at the Contest Site. As part of the registration process, Contest Entrants will be required to click where indicated to signify that they accept and unconditionally agree to be bound by these Official Rules, including the decisions of the judges and the Sponsors which are final and binding in all respects. Limit one (1) registration per person and per e-mail address. <br/><br/>Round One Entry<br/>Once you have completed the Contest registration, follow the online instructions to complete, and upload your Round One Mix(es).  You must complete the registration process and upload your Round One Mix(es) to the Contest Site no later than 6pm PDT on June 10, 2007 (the "Entry Deadline").  <br/><br/>The Sponsor will post on the Contest Website content from three genres - rock/alt, dance and hip-hop.   Contest Entrants are invited to prepare an audio mix for one or more of the genres.  Contest Entrants must use only the audio tracks and content, or any portions thereof, that are made available by Sponsor on the Contest Website ("Authorized Assets").  Contest Entrants may submit one, and only one, Mix for each of the three genres.  Each Mix must remain within the genre, that is use Authorized Assets from only a single genre; thus, Contest Entrants cannot combine in one Mix content from the rock/alt genre with content from the hip-hop genre.  ContestantÕs Mixes must also use some portion of each of the three audio tracks within a particular genre.  Any individual who attempts to enter more Mixes than allowed by these Official Rules, or in the sole discretion of Sponsor is suspected of submitting more Mixes then permitted in these Rules, by any means, including but not limited to establishing multiple e-mail accounts or registrations will be disqualified from the Contest. If a dispute as to the identify of a Contest Entrant cannot be resolved to SponsorÕs satisfaction, the affected Mix will be deemed ineligible. <br/>Each Mix submitted by a Contest Entrant must comply in all respects with the Mix Parameters and Restrictions listed in Paragraph 5 of these Official Rules.<br/><br/><br/>Round One: Selection of Finalists<br/>Six (6) Finalists (2 in each genre) will be selected by a combination of public ratings and judging by a panel of judges, as described below:<br/>All eligible Mixes that meet the requirements in these Official Rules ("Round One Submissions") may be posted publicly on the Contest Site, starting on May 21, 2007.   From May 21, 2007 through June 17, 2007 ("Round One Voting Period"), visitors to the Contest Site will have an opportunity to listen to and rate the Round One Submissions, on a scale of 1-5 stars (1 being the lowest rating and 5 being the best).  Any rating of between 1 and 5 stars will add to the MixÕs total points used to determine the Contest Finalists.  Point totals will be calculated for each Mix as follows:  one point will be given for each star in a rating of that Mix.  The points will be totaled for each Mix based on the number of stars received as part of the ratings.  For example, if a Mix receives 10 - 1 star ratings, 20 - 3 star ratings and 20 - 5 star ratings, the total points will be 170 points (10 X 1 plus 20 X 3, plus 20 X 5).  This means that any ratings of a Mix will increase the total overall points received by that Mix.  Voters can rate each Mix only once. Any attempt by a Voter to rate a single Mix more than once during the Round One Voting Period may result in disqualification of all ratings and other Voter Activity produced by that Voter.   On June 18, 2007, the points for each Mix will be tabulated based on the number of ratings and the number of stars received.  For each of the three genres, the Mix with the highest aggregate point total will be identified and the Contest Entrants who submitted the top point receiving Mix in each genre will become Finalists and move on to Round Two of the Contest.  No Contest Entrant may win in more than one genre category and the winners of the popular ratings will not be eligible for the expert panel rating in Round One.  In the event of a tie, the tied entries will be evaluated by the Judges, according to the criteria listed below, and the Judges will determine the winner of Round One in that genre.  <br/><br/>In addition, a panel of judges consisting of experts selected by the Sponsors and/or the Promotion Entities (the "Judges"), will also listen to and evaluate the 10 Mixes receiving the most points in the visitor rating in each of the three genres (excluding the top point receiving Mix from each genre - the Contest Entrant of which will already have been chosen to move on to Round Two).  The panel of Judges will then choose one additional Mix from each of the three genres and the Contest Entrants who submitted the Mixes chosen by the panel of Judges will also move on to Round Two.  The Judges will rate the Mixes on a 1-5 star scale rating, with 1 star being the lowest score and 5 stars being the highest score, based on the following equally weighted criteria: creativity and audience appeal (the "Judging Criteria").  The Judges ratings will be tabulated and, for each genre, the Mix with the highest total points (using 1 point for each star received by a Judge) will be identified and the Contest Entrants who submitted the highest point receiving Mixes will become Finalists and move on to Round Two of the Contest.  <br/>The Contest Entrants (3 total) with the top point receiving Mix in each genre, as determined by visitor ratings on the Contest Site, plus the Contest Entrants (3 total) receiving the highest point totals from the Judges for their Mix in each genre, will become Finalists and advance to Round Two of the Contest.  The Sponsor reserves the right to advance fewer than six (6) Finalists in the event there are an insufficient number of eligible Mixes.<br/><br/>4.  ROUND TWO - NOTIFICATION, ENTRY AND SELECTION OF GRAND PRIZE WINNER<br/>Notification<br/>Each Finalist from Round One will be notified by email that they have been selected as a Finalist, on or about June 19, 2007.   Each Finalist will have 48 hours to acknowledge receipt of the notification email and confirm to Sponsor, by return email, that they wish to participate in Round Two and comply with SponsorÕs requirements.  Failure to respond within this time period will result in disqualification and an alternate Finalist may be selected. If any potential Finalist cannot be contacted or does not acknowledge the Finalist notification, or if the notification email is returned as undeliverable, then such potential Finalist will also be disqualified and an alternate Finalist may be selected. <br/><br/>Round Two Entry<br/>The Sponsor will post on the Contest Website a new set of content (music, sounds, other audio)  for Round Two ("Round Two Content") only available for the FinalistÕs use.  Finalists must prepare one, and only one, audio mix based solely on the Round Two Content ("Round Two Mix").  Round Two Content will not be based on genre and Contestants must use Content from each Round Two track made available on the Contest Website in their Round Two Mix.  The period for submitting the Round Two Mix will run from June 22, 2007, to June 26, 2007.   Each Mix submitted by a Contest Entrant must comply in all respects with the Mix Parameters and Restrictions listed in Paragraph 5 of these Official Rules.<br/><br/>Round Two: Selection of Grand Prize Winner<br/>One Grand Prize Winner will be selected.<br/>All Round Two Mixes that meet the requirements in these Official Rules will be posted publicly on the Contest Site, starting June 27, 2007.   From June 27, 2007 through July 10, 2007 at 6PM PDT ("Round Two Voting Period"), visitors to the Contest Site will have an opportunity to listen to and rate the Round Two Mixes, on a scale of 1-5 stars (1 being the lowest rating and 5 being the best).   The same point scoring will be used as in the Round One visitor ratings.  Voters can rate each Mix only once and may not change a rating once it is registered. Any attempt by a Voter to rate a single Mix more than once during the Round Two Voting Period may result in disqualification of all ratings and other Voter Activity produced by that Voter.   On July 11, 2007, the total points (based on the ratings) for each Mix will be tabulated.  The Round Two Mix with the highest point total will be identified and the Contest Entrant who submitted the top point getting Round Two Mix will be the Grand Prize Winner.   The remaining Finalists with eligible Round Two Mixes will be Runner Up Prize Winners.<br/><br/>5.  MIX PARAMETERS AND RESTRICTIONS<br/><br/>All Mixes, in both Round One and Round Two, must comply with the following parameters and restrictions in order to be eligible for the Contest.  Failure to comply will result in disqualification.<br/>Your Mix(es) must comply with the following to be eligible:<br/>a)  Your Mix(es) must use sounds, music or effects contained on one or more of the Authorized Assets only and must not contain any material not contained in the Authorized Assets.  <br/>b) Each Mix must be no more than 5 minutes in total running time.<br/>c) Each Mix must be formatted, encoded and uploaded in the MP3 format.<br/><br/>d) Each Mix must utilize content from each and every one of the 3 audio tracks in a genre in Round One and form each and every one of the 3 audio tracks provided by Sponsor in Round Two.<br/>e) Each Mix must be suitable for family audience listening and contain only content that, in the sole and unfettered discretion of the Sponsors, is suitable for 13 year olds.<br/><br/>f) Each Mix must not, in the sole and unfettered discretion of the Sponsors, contain any sexually explicit, disparaging, libelous or other inappropriate content.<br/><br/>g) Each Mix must not, in the sole discretion of Sponsors, contain any copyrighted content (other than the Authorized Assets or portions of the Authorized Assets). Any elements appearing in your Mix, including without limitation music, audio, speech/voiceovers, (collectively, "Elements") must be an Authorized Asset. Use of any Elements or other materials that are not an original part of an Authorized Asset may result in disqualification of a Mix, in Sponsors\' sole discretion. <br/><br/>* * *By entering the Contest, each Contest Entrant acknowledges and agrees that, as between Sponsor and Contest Entrant, any Mixes or submissions become the property of Sponsor. Contest Entrant agrees that: (a) Tommy Boy Records is granting Sponsor and entrants a limited, non-transferable, non-exclusive license to use the Authorized Assets and Round Two Content solely in connection with the Contest, solely in the manner described in these Official Rules and only for the duration of the Contest, (b) Contest Entrants shall have no right, title or interest in the Authorized Assets or Round Two Content, or any portions thereof, or any derivative works thereof, or any Mix based thereon; and (c) any use of the Authorized Assets or Round Two Content other than as expressly permitted by these Official Rules will constitute a violation of these Official Rules and may constitute copyright infringement. Further, those Authorized Assets and Round Two Content may be used only in a Mix submitted for purposes of this Contest. In other words, Contest Entrants may not use the Authorized Assets or Round Two Content, or any Mix based thereon, for any purpose other than preparing a Mix for this Contest and Contest Entrants may not combine or "mash up" any of the Authorized Assets or Round Two Content with footage, music or other elements taken from any other source or which they created independently, for any purpose.  Contest Entrants acknowledge and agree that, except as expressly permitted herein, they may not use, distribute, copy, download, upload, reproduce, license, perform or otherwise use the Authorized Assets or Round Two Content.  <br/><br/><br/>6. PRIZES AND PRIZE NOTIFICATION<br/>Prize Notification<br/>The Grand Prize Winner and Runner Up Prize Winners will be notified on or about July 13, 2007.  Each winner will be required to sign and return to Sponsor an Affidavit of Eligibility and Liability and Publicity Release.  In order to qualify for the prizes, the Affidavit must be returned to Sponsor within fourteen (14) days of the date of notification from Sponsor.  Failure to return the Affidavit within this time period will result in disqualification.  <br/><br/>Grand Prize Winner: The confirmed Grand Prize winner who complies with SponsorÕs requirements will receive the following prizes: (i) a $2500 Armani Exchange Shopping Spree (provided in the form of a gift card for use at any Armani Exchange location); (ii) a $2500 Guitar Center Shopping Spree (provided in the form of a gift card for use at any Guitar Center location); (iii) a Denon DJ DN-HD2500 Media Player & Controller (approx. retail value $1199.99); (iv) a Denon AVR-987 Home Theater A/V Surround Receiver (approx. retail value $1099); (v) a Denon DN-HP1000 Headphones (approx value $199.00); and (vi) $600 worth of free downloads usable for 1 year (12 months) from Beatport.com. <br/><br/>Runner Up Prize Winners:  Each Finalist, excluding the Grand Prize Winner, who submits an eligible Round Two Mix and complies with SponsorÕs requirements, will receive the following:  (i) a $250 Armani Exchange Shopping Spree (provided in the form of a gift card for use at any Armani Exchange location); (ii) a $250 Guitar Center Shopping Spree (provided in the form of a gift card for use at any Guitar Center location); (iii) a Denon DJ DN-S3500 Table-top CD/MP3 Player (approx. value $879.99); (iv) a PCDJ Reflex Software TC (approx. value $329) and (v) $150 worth of free downloads usable for 1 year (12 months) from Beatport.com.   <br/>Prizes will be provided no later than 60 days from winnerÕs completion of and SponsorÕs receipt of all required information and documentation (so long as such information and documentation is provided within the requirements of these rules).  <br/>* * *<br/>Except as specifically provided herein, prize packages do not include taxes, insurance, or any other item not specifically described in these Official Rules, and all expenses for any of the foregoing and for use of the prize are the sole responsibility of the prize winner. Prizes cannot be used in conjunction with any other promotion or offer and may not be separated.   Prizes may not be transferred or assigned except by Sponsors. Only listed prizes will be awarded and no substitutions, cash equivalents or redemptions will be made, except that Sponsors reserve the right to substitute any prize package with another prize of equal or greater value in the event that the advertised prize (or any component thereof) is not available. Reporting and payment of all applicable taxes, fees, and/or surcharges, if any, arising out of, or resulting from, acceptance or use of a prize, are the sole responsibility of the winner of that prize.  Prize winners may have to report their Prizes and the value thereof to appropriate government taxing authorities and Sponsor will take such steps as it deems appropriate in its sole discretion to comply with any such laws or regulations.  Sponsors expressly disclaim any responsibility or liability for injury or loss to any person or property relating to the delivery and/or subsequent use of the prizes awarded. Sponsors make no representations or warranties concerning the appearance, safety or performance of any prize awarded. Restrictions, conditions, and limitations apply. Promotion Entities will not be liable for nor replace any lost or stolen prize items. <br/><br/>7. ODDS:  Odds of winning depend on the number and skill of the Contest Entrants<br/><br/>8. ADDITIONAL ENTRANT RESTRICTIONS<br/>Identifying Items<br/>Contest Entrants will be permitted to upload, utilize and otherwise display an image, symbol, picture or other identifier to symbolize themselves on the Contest Site ("Identifying Item").  Such Identifying Item must be original, licensed to the Contest Entrant, publicly available without a license, right or other permission from any party, and otherwise free of any restrictions, licenses or other liens, encumbrances or other rights held by any party other than Contest Entrant.   Identifying Items containing sexually explicit, disparaging, libelous,  misleading or other inappropriate content or content that infringes or misappropriates the rights of another party are prohibited and Contest Entrant may be disqualified. .All such Identifying Items shall constitute a portion of the Mix for purposes of  these Official Rules and the conditions and promises made herein.  <br/>Emails & Blogs<br/>Contest Entrants will have the ability to send emails from the Contest Site containing links and other information regarding their Mix to other individuals and to post such information on blogs.  Contest Entrant agrees not to send "spam" or otherwise distribute the links and other information to anyone who is not personally known to Contest Entrant, or who has not agreed to receive emails from Contest Entrant, or who is not on a listing, blog or other publicly available listing that Contest Entrant rightfully has access to and has the right to send emails to.  It is Contest EntrantÕs obligation to assure that he/she complies with this anti-spam requirement.  Contest Entrant agrees not to use the Contest Site email or blog feature in any manner that violates any law or regulation  Any failure to comply with this requirement may result in the disqualification of Contest Entrant from the Contest.  <br/><br/><br/>9. DISQUALIFICATION: At any time during the Contest, Sponsor has  the right, in its sole discretion, to disqualify the Contest Entrant who posted any Mix and to remove any Mix that it believes does not meet any requirements in these Official Rules or contains any inappropriate content,  or infringes the rights of any third party. The decisions of the Sponsor on all matters relating to the Contest are final and binding. <br/><br/>10. REQUIRED ADDITIONAL AGREEMENTS FOR CONTEST ENTRY:   In exchange for the right to participate in the Contest and compete for the Prizes, Contest Entrant hereby transfers, conveys, sells, assigns, and grants ownership to the Sponsor of all right, title and interest in any Mix he/she enters into the Contest, including but not limited to all rights relating to the Mix including, but not limited to, performance rights both in public and private, rights of publicity, right of authorship and the right to promote, monetize, sell, reproduce, broadcast, distribute, publich, display license, transfer and the right to take all actions in its sole discretion with respect to the Mix.  Further, Contest Entrant agrees to make, execute and deliver any and all other instruments including any and all further application papers, affidavits, assignments and other documents to Sponsor and will do all things which may be necessary or desirable more effectually to secure to and vest in Sponsor, its successors or assigns the entire right, title and interest in and to the Mix and the rights associated with it.  Contest Entrant, further:<br/><br/>a. WARRANTS AND REPRESENTS THAT THE CONTEST ENTRANT OWNS OR HAS THE RIGHT TO USE  THE MIXE(S) WITH THE EXCEPTION OF ANY AUTHORIZED ASSETS (COLLECTIVELY, THE "CONTEST ENTRY MATERIALS"); <br/><br/>b.  WARRANTS AND REPRESENTS THAT (OTHER THAN THE AUTHORIZED ASSETS): (i) THE CONTEST ENTRY MATERIALS WERE CREATED BY THE ENTRANT AND HAVE OTHERWISE BEEN CREATED IN ACCORDANCE WITH LAW, (ii) DONT INFRINGE ANY THIRD PARTY RIGHTS WHATSOEVER (INCLUIDNG INTELLECTUAL PROPERTY, PRIVACY OR PUBLICITY RIGHTS) OR VIOLATE LAWS, REGULATIONS OR OTHER APPLICABLE STANDARDS; <br/><br/>c. irrevocably grants to Promotion Entities the worldwide, royalty-free, non-exclusive, sublicensable, unconditional, perpetual and transferable license and right to copyright (only as applicable), post, broadcast, display, publicly perform, reproduce, encode, store, modify, copy, transmit, publish, adapt, exhibit and/or otherwise use or reuse (without limitation as to when or to the number of times used), the Entrant\'s name, state of residence, image, voice, likeness, statements, and biographical material, including, but not limited to, the digital recording and performances contained in any of the above items, as well as any materials relating to or submitted by the Entrant and arising out of his/her participation in this Contest (with or without using the Entrant\'s name) (collectively, the "Associated Materials") in any format throughout the world, whether now known or hereafter created, for any purpose, without limitation, and without additional review, compensation, or approval from the Entrant or any other party, except as prohibited by law. <br/>d. grants to the public and any other parties: (i) the non-exclusive license to access the Contest Entry Materials through the Contest Site; (ii) the ability for any and all persons who access the Contest Site to rate, review, comment on and tag the Contest Entry Materials; and (iii) the exclusive license to use, reproduce, distribute, remix, prepare derivative works of and compilations, display and perform the Contest Entry Materials as permitted through the Contest Site or otherwise; <br/><br/>e. waives any rights of privacy, intellectual property rights, and any other legal or moral rights that may preclude Promotion Entities\' use of the entrant\'s Contest Entry Materials or Associated Materials, as provided above; <br/><br/>f. agrees to indemnify and hold the Promotion Entities and their respective affiliates, officers, directors, agents, co-branders or other partners, and any of their employees (collectively, the "Promotion Indemnitees"), harmless from any and all claims, damages, expenses, costs (including reasonable attorneys\' fees) and liabilities (including settlements), brought or asserted by any third party against any of the Promotion Indemnitees arising out of or in connection with (i) any Contest Entry Materials or Associated Materials; (ii) any breach by Contest Entrant of any warranty, agreement or representation contained in these Official Rules or terms of service or in any documentation submitted by Contest Entrant; (iii) the Contest Entrant\'s conduct during and in connection with this Contest, including but not limited to trademark, copyright, or other intellectual property rights, right of publicity, right of privacy or defamation; or (iv) the acceptance of any prize.  <br/><br/>11. GENERAL RULES: The Contest is governed by and subject to the laws of the United States. All federal, state and local laws and regulations apply. Void where prohibited by law. All Finalists and the Grand Prize winner (subject to their compliance with these Official Rules) will receive an IRS 1099 for the value of their prizes. By participating in the Contest and/or accepting any prize, Contest Entrants grant permission to the Promotion Entities and their advertising and promotion agencies to use their name, likenesses, Mixes, and any other material submitted in connection with the Contest for purposes of advertising, publicity and promotion purposes, without further compensation to Contest Entrant, unless prohibited by law. Contest Entrants agree to be bound by the Official Rules and the decisions of the Judges, which are final and binding on all matters relating to the Contest. Sponsors are not responsible for any typographical or other errors in the printing of the offer, administration of the Contest or the announcement of the prizes, or for lost, late, misdirected, damaged, incomplete or illegal entries. Sponsors reserve the right at their sole discretion to disqualify the Contest Entry or the vote of any individual found to be (a) tampering or attempting to tamper with the entry process or the operation of the Contest or any Sponsor website; (b) violating the Official Rules; (c) violating the terms of service, conditions of use and/or general rules or guidelines of any Sponsor property or service, or (d) acting in an unsportsmanlike or disruptive manner, or with intent to annoy, abuse, threaten or harass any other person. Further, Sponsors reserve the right to disqualify any entry which, in Sponsors\' sole opinion, is deemed to be offensive, libelous, slanderous, inflammatory, or otherwise inappropriate in any way for this Contest. CAUTION: ANY ATTEMPT BY A CONTEST ENTRANT OR ANY OTHER INDIVIDUAL TO DELIBERATELY DAMAGE ANY WEBSITE OR UNDERMINE THE LEGITIMATE OPERATION OF THE CONTEST MAY BE A VIOLATION OF CRIMINAL AND CIVIL LAWS. SHOULD SUCH AN ATTEMPT BE MADE, SPONSORS RESERVE THE RIGHT TO SEEK DAMAGES FROM ANY SUCH PERSON TO THE FULLEST EXTENT PERMITTED BY LAW. <br/><br/>12. LIMITATIONS OF LIABILITY: The Promotion Entities assume no responsibility for any computer, online, telephone transmission or technical malfunctions or human error that may occur during participation in the Contest or any Contest-related activity (including, without limitation, the voting phase of the Contest), or for theft, destruction or unauthorized access to, or alteration of, Contest Entry Materials or votes. Promotion Entities are not responsible for any incorrect or inaccurate information, whether caused by website users, Contest Entrants or any of the equipment or programming associated with or utilized in the Contest; or for any technical or human error which may occur in the processing of submissions or Votes in the Contest. Promotion Entities assume no responsibility for any error, omission, interruption, deletion, defect, delay in operation or transmission, failures or technical malfunction of any telephone network or lines, computer online systems, servers, providers, computer equipment, software, email, players or browsers, whether on account of technical problems, traffic congestion on the Internet or at any website, or on account of any combination of the foregoing (including but not limited to any such problems which may result in the inability to access the Contest Site or to submit Entry Materials or Votes in connection with the Contest). Promotion Entities are not responsible for any injury or damage to Contest Entrants or any other person, or to any computer related to or resulting from participating or downloading materials in this Contest. If, for any reason, the Contest is not capable of running as planned, including infection by computer virus, bugs, tampering, unauthorized intervention, fraud, technical failures, or any other causes beyond the control of Promotion Entities which corrupt or affect the administration, security, fairness, integrity or proper conduct of this Contest, Sponsors reserve the right at their sole discretion to cancel, terminate, modify or suspend the Contest and select winners from among those eligible Contest Entries from that portion of the Contest that has not been compromised, if any. <br/><br/>13. DISPUTES/GOVERNING LAW: Except where prohibited, as a condition of participating in this Contest, Contest Entrant agrees that any and all disputes which cannot be resolved between the parties, claims and causes of action arising out of or connected with this Contest, or any prize awarded, or the determination of winners shall be resolved individually, without resort to any form of class action. Further, in any such dispute, under no circumstances will Contest Entrant be permitted to obtain awards for, and hereby waives all rights to claim punitive, incidental or consequential damages, or any other damages, including attorneys\' fees, other than entrant\'s actual out-pocket expenses (e.g., costs associated with entering this Contest), and Contest Entrant further waives all rights to have damages multiplied or increased. All issues and questions rights and obligations of Contest Entrant in connection with this Contest shall be governed by, and construed in accordance with, the laws of the State of New Jersey, U.S.A., without giving effect to the conflict of laws rules thereof and any matters or proceedings which are not subject to arbitration as set forth in these Official Rules and/or for entering any judgment on an arbitration award, shall take place in the State of New Jersey, Bergen County. The parties waive rights to trial by jury in any action or proceeding instituted in connection with these Official Rules and/or this Contest. Any controversy or claim arising out of or relating to these Official Rules and/or this Contest shall be settled by binding arbitration in accordance with the commercial arbitration rules of the American Arbitration Association. Any such controversy or claim shall be arbitrated on an individual basis, and shall not be consolidated in any arbitration with any claim or controversy of any other party. The arbitration shall be conducted in the State of New Jersey, Bergen County, and judgment on the arbitration award may be entered into any court having jurisdiction thereof. <br/><br/>14. PRIVACY: By entering the Contest, you agree to SponsorÕs use of your personal information, as described in the SponsorÕs Privacy Policy, located at mash.denondj.com. If your entry is selected as a potential, confirmed Finalist, or if you do not opt out by checking a box on the registration page of the Contest Website, the personal information collected from you will be shared with prize Sponsors. <br/><br/>15. WINNERS\' LIST/RULES REQUESTS: For a copy of the Official Rules or the winner\'s name, send a separate, stamped, self-addressed envelope to: Denon DJ D&M Pro Contest Rules, 1100 Maplewood Dr. Itasca IL 60143.  Vermont residents may omit return postage. Requests received after December 31, 2007 will not be honored. <br/><br/>16. SPONSORS: D&M Pro, a division of Marantz America, Inc. 1100 Maplewood Dr. Itasca IL 60143.</div>';
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.showPP = function () {
var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left; height: 500px;overflow: auto;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = 'D&M Professional Privacy Policy<br/>Your Privacy is Important to Us <br/>At D&M Professional, we believe privacy is a right, not a privilege. In other words, you should expect us to protect your privacy, and you should never have to worry about it. We believe that a clear-cut privacy policy is an important part of the service we provide. We are committed to safeguarding your privacy while providing you with the best shopping and on-line experience possible. This is our Privacy Credo: <br/>1.	We see your privacy as a right and not just a privilege. <br/>2.	We respect your privacy and are committed to maintaining the privacy of your personal information. <br/>3.	We will tell you what information we collect about you and how we use that information. <br/>4.	We will give you a choice as to how your personal information will be used. <br/>Sources of Information <br/>To best understand this Privacy Policy, please keep in mind that information may become available to us from two different sources: <br/>1.	The http://www.d-mpro.com/ Web site or other D&M Professional websites. <br/>2.	Telephone. You may call us and provide us with information. <br/>3.	Email.  You may email us and provide us with information.<br/>Types of Information <br/>It is important to know that there are two different types of information that may become available to us. These can be used in different ways, as explained below in the Q&A section of our Privacy Policy. The terms defined below are used throughout our Privacy Policy: <br/>1.	"Personally Identifiable Information" is private data about you as an individual. Examples of this data would be your name, address, telephone number, email address, and other personal information that identifies you as you. We call this "Personal Information" for short. <br/>2.	"Non-Personal Information" is information about how you use our Web site and D&M Professional Products that is not connected to your particular name, address, or other Personal Information. For example, Non-Personal Information could describe how many people viewed a particular page on our Web site or how many people upgraded to our latest software, without connecting that Information to the specific identities of those people. <br/>Privacy Policy Q&A <br/><br/>What information does D&M Professional collect from the Web site? <br/><br/>When you visit certain areas of the web site, we may ask you to register by providing Personal Information. For example, if you buy a product, enter a contest, or subscribe to a mailing list from our site, we will ask you for certain Personal Information in connection with that transaction. <br/><br/>We also collect Non-Personal Information from the Web site, including which pages you look at and other similar data. As do most Web sites, us. http://www.d-mpro.com/ uses "cookies." A cookie is a small data file that a Web site can send to your browser to be stored automatically on your computer. Cookies are commonly used to track your visits to a site so you don\'t have to log in on every page and to analyze how you use the site. This allows Web site operators to serve you better. <br/><br/>When you register your D&M Professional product at http://www.d-mpro.com/, we collect Personal Information. Our practices regarding the collection and use of this information are described below. <br/><br/>How does D&M Professional use the information it collects from the Web site? <br/><br/>We may use Personal Information collected through the Web site to complete a transaction you request. D&M Professional may also use your mailing address, telephone number or email address to alert you to special offers, updated information and new services. If you don\'t want D&M Professional to contact you, you may opt-out as discussed in the next question and answer below. <br/><br/>Non-Personal Information collected through our Web site is used for maintenance, monitoring and marketing uses, but Non-Personal Information will not be linked to your identity without providing you an opportunity to opt out of such linking. <br/><br/>What choices do I have regarding the collection and use of information from the D&M Professional Web site? <br/><br/>At the time you submit Personal Information at our Web site, you can opt-out of receiving information from D&M Professional about our products and related products, promotions, and services by checking or removing the check from appropriate boxes provided for this purpose. You may also set your Internet browser to reject cookies to limit the collection of Non-Personal Information from our Web site, but this may affect your ability to use some parts of our Web site. <br/><br/>Is registration information received over the telephone treated the same as information from the D&M Professional website? <br/><br/>Yes, Personal Information collected over the telephone is treated the same way as Personal Information collected on the website. <br/><br/>Can I correct the information collected about me? <br/><br/>D&M Professional believes in and supports your right to access and correct the Personal Information you have provided us. To do so, simply contact D&M Professional and we will make corrections that you request. <br/><br/>Is all of my information kept securely? <br/><br/>D&M Professional has security measures in place that are designed to protect your information. All Personal Information and any Non-Personal Information is stored on physically secured servers. Access to this information is strictly limited to individuals with a legitimate reason to have access and who have signed agreements that prohibit the unauthorized use or disclosure of such information. In addition, all of D&M Professional\'s stored information is firewall protected in a manner designed to prevent unauthorized "hacks" into our systems. While we cannot guarantee that loss, misuse or alteration of your data will not occur, we work hard to prevent such occurrences. <br/><br/>Are there any special circumstances that may require my information to be shared with third parties? <br/><br/>D&M Professional may disclose Personal Information and Non-Personal Information if required to do so by law, to protect and defend its rights or its property, or our users, whether or not required to do so by law, or to protect the personal safety of our customers or the public. D&M Professional reserves the right to contact appropriate authorities and disclose Personal or Non-Personal Information to them at its discretion when it appears that individuals using our products or services are engaged in activities that may be illegal or violate our policies. <br/><br/>Should D&M Professional merge with or be acquired by another company, then customer information maintained by D&M Professional, including Personal and Non-Personal Information, if any, may be transferred to and used by the resulting combined company although all reasonable measures would be taken to ensure the continued protection of your information by the subsequent company. <br/><br/>From time to time we may also share Personal Information with third parties who perform certain services and functions on our behalf. These parties only have access to the Personal Information they need to perform their functions and we require them to use the information only in connection with the services they provide for us.<br/><br/>Will this Privacy Policy ever be changed? How can I find out about any changes to this Privacy Policy? <br/><br/>Our privacy policy could change in the future. As our business and services expand and change, we will update this policy to provide you with information about changes to our privacy policy, including how we treat Personal Information collected through our services. <br/><br/>Updates to this policy, including opportunities to opt out of data collection, will be posted on our Web site indicating the policy has been updated. In most cases, these will be the exclusive means of communicating changes to our privacy policy. We encourage you to review this policy periodically to review any changes that have been posted. <br/><br/>One thing that will never change at D&M Professional is our commitment to your privacy. <br/><br/>What if I have other questions? <br/><br/>If you have any questions or comments about our use of your information or about this Privacy Policy, email us. We will be happy to give you more information. <br/><br/>If you have a complaint about our use of your information, please let us know. We will promptly investigate and will comply fully with the legal and regulatory supervisory authorities responsible for enforcing our adherence to the privacy principles stated above. <br/><br/>Thank you for choosing D&M Professional.  <br/><br/>DoubleClick Disclosure <br/><br/>We currently contract with several online partners to help manage and optimize our Internet business and communications. We use the services of a marketing company to help us measure the effectiveness of our advertising and how visitors use our site. To do this, we use Action Tags and cookies provided by our marketing company on this site. The information we collect helps us learn things like what kinds of customers our site attracts, which of our products most interest our customers, and what kinds of offers our customers like to see. Although our marketing company logs the information coming from our site on our behalf, we control how that data may and may not be used. If you do not want to help us learn how to improve our site, products, offers and marketing strategy, you can "opt-out" of this web-site analysis tool by clicking here '
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.showAlbum = function( id ) {
var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;text-align: center;min-height: 400px;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "<img src='http://static.mash.denondj.com/denondj/images/albumart/" + id + ".gif' />";
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.downloadLink = function( mp3, type ) {
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "";
  	switch( type ) {
		case "house":
			formString += 'IMPORTANT: Our lawyers tell us that you must use content from all 3 HOUSE/DANCE tracks in your Mix.  And only the tracks from "Bob Sinclair - Love Generation", "Miami Attack - My processor cry", and "Wally Lopez - Don\'t U (Richard Grey remix)" may be used for your house/dance mix. Sorry, no content outside of these 3 tracks may be used.';
		break;
		case "hiphop":
			formString += 'IMPORTANT: Our lawyers tell us that you must use content from all 3 HIP HOP tracks in your Mix.  And only the tracks from "Fannypack - Not this", "2XL - Magic City", and "Ida Corr - You Make Me Wanna" may be used for your hip hop mix. Sorry, no content outside of these 3 tracks may be used.';
		break;
		case "rockalt":
			formString += 'IMPORTANT: Our lawyers tell us that you must use content from all 3ROCK/ALTERNATIVE tracks in your Mix.  And only the tracks from "Daniel Cirera - She Rules", "Cliks - Oh Yeah", and "" may be used for your rock/alternative mix. Sorry, no content outside of these 3 tracks may be used.';
		break;
	}
  	formString += "<p><a href='" + mp3 + "'>Download Here</a></p>";
	container.innerHTML = formString;
  	
	Lightbox.show({content: container });
	return false;
}
Denon.prototype.prizesCopy = function( id ) {
	var container = document.createElement("div");
	container.setAttribute("style", "padding: 10px; padding-top: 20px; background: #666; text-align: left;");
	container.setAttribute("id", "loginForm");
  	  	
  	var formString = "";
  	switch( id ) {
		case 11:
			formString = "<h1>DNS-3500 Professional Direct Drive CD/MP3 Player</h1>Industry's new flagship DN-S3500 table-top CD/MP3 player with a powerful 12-pole Direct Drive motor, 7 on-board effects, intuitive control, appealing design and style that will surely reinvent the tabletop market for all vinul and digital DJs alike. ";
		break;
		case 4:
			formString = "<h1>DN-HD2500 Media Player & Controller</h1>A hard-drive based professional media player and controller that is peripheral-friendly and offers an all-in-one \"nerve center\" that addresses and actually anticipates ever changing needs.<br/><br/><h1>DN-HP100 High Performance Professional DJ Headphones</h1>Featurig an impeccably clean vibrant sound that will withstand the demands of high volume while maintaining its sonic characteristics. Soft padded ear cups are able to swivel a full 180 degrees with dual pivot action design and conform to all head sizes.";
		break;
		default:
			formString = "This is the good stuff. Denon makes some of the highest quality home theater audio gear on the planet and is known internationally for its award-winning, innovative and groundbreaking products.";
		break;
	}
	container.innerHTML = formString;
	Lightbox.show({content: container });
	return false;
}
var denon = new Denon();