(function() {
var head = document.getElementsByTagName('head')[0];
var css = document.createElement("link");
css.setAttribute("rel", "stylesheet");
css.setAttribute("type", "text/css");
css.setAttribute("media", "screen");
css.setAttribute("charset", "utf-8");
css.setAttribute("href", "http://www.thisnext.com/badge/css/");
head.insertBefore(css, head.firstChild); // TRICKY: Insert before any other style sheets (so the user can override our style sheet).
var html = '';
html += '
What a cool way to schlep around your Monome!
Two keyboards in one--piano and computer.
Ah, a robot after my own soul. S/he would make an adorable gift for any electronic music DJ, producer, or enthusiast. (OK, I\'m totally adding this to my wishlist since my birthday is coming up!)
Cool graphic of the side view of a turntable.
Lord Vader staring up at you in the morning from your toast? Well, alright then.
A digital version of the original.
For the nerdy friend who has everthing...
';
var badge = document.getElementById('thisnext-badge-828873');
badge.innerHTML = html
})();
var ThisNext8659572_index = 0;
var ThisNext8659572_count = 11;
function ThisNext8659572_previous() {
if ( ThisNext8659572_index <= 0 ) {
/* If the count doesn't evenly divide into the per_screen, make the last
screen the same as it is when the user scrolls through forwards. This
keeps the slides consistent regardless of how the scrolling is done. */
var last_remainder = ThisNext8659572_count % 0;
var end_offset = last_remainder || 0;
ThisNext8659572_index = ThisNext8659572_count - end_offset;
}
else {
ThisNext8659572_index -= 0;
}
ThisNext8659572_display(ThisNext8659572_index);
}
function ThisNext8659572_next() {
if ( ThisNext8659572_index + 0 >= ThisNext8659572_count ) {
ThisNext8659572_index = 0;
}
else {
ThisNext8659572_index += 0;
}
ThisNext8659572_display(ThisNext8659572_index);
}
function ThisNext8659572_display(index) {
document.getElementById('ThisNext8659572_index_display').innerHTML = index + 1;
for ( var i=0; i= index && (i <= (index + -1)) ) {
document.getElementById(display_element).style.display = 'block';
}
else {
document.getElementById(display_element).style.display = 'none';
}
}
ThisNext_hide_more_divs();
}
function ThisNext_hide_more_divs () {
// get list of description divs:
var descriptions = new Array;
var divs_under_main = document.getElementsByTagName('div');
for (var i=0; i < divs_under_main.length; i++) {
var node = divs_under_main[i];
if (node.getAttribute('name') == 'ThisNext_description') {
descriptions.push(node);
}
}
// hide "... [more]" link if it doesn't need to be shown:
for (var i=0;i 0) {
if (description.scrollHeight <= description.offsetHeight) {
document.getElementById(description.id+'_more').style.display = 'none';
description.style.height =
document.getElementById(description.id+'_p').scrollHeight+'px';
}
}
}
}
function addEvent(obj, evType, fn){
if (obj.addEventListener){
obj.addEventListener(evType, fn, false);
return true;
} else if (obj.attachEvent){
var r = obj.attachEvent("on"+evType, fn);
return r;
} else {
return false;
}
}
addEvent(window, 'load', ThisNext_hide_more_divs);