// RustNewYork tag marker

document.body.style.margin = '0';
document.body.style.padding = '0';

var objBar = document.createElement('div');
objBar.setAttribute('id','rny_bar');

objBar.style.position = 'fixed';
objBar.style.top = '0';
objBar.style.right = '0';
objBar.style.zIndex = '10000';
objBar.style.width = '28px';
objBar.style.height = '100%';
objBar.style.backgroundColor = '#1a1a1a';
objBar.style.cursor = 'pointer';

document.body.appendChild(objBar);

var objTag = document.createElement('div');
objTag.setAttribute('id','rny_tag');

objTag.style.position = 'absolute';
objTag.style.bottom = '5px';
objTag.style.width = '100%';
objTag.style.height = '225px';
objTag.style.background = 'transparent url("http://www.rustnewyork.com/img/rny_tag.png") no-repeat 50% 0';

objBar.appendChild(objTag);

objBar.onclick = function() { window.open('http://www.rustnewyork.com'); };