WN_d = document.getElementById('wnevs').src.replace('/www/remotevote.js', '')
WN_Story = (typeof WN_Story == 'string' ? (WN_Story != '<?php the_permalink() ?>' ? WN_Story
		: window.location.href)
		: window.location.href);
WN_u = WN_d + '/remote_voting?story=' + encodeURIComponent(WN_Story);
function WN_run() {
	if (typeof WN_Type == 'undefined') {
		WN_Type = 1;
	}
	switch (WN_Type) {
	case 1:
		_w = 70;
		_h = 84;
		break;
	case 2:
		_w = 41;
		_h = 63;
		break;
	case 3:
		_w = 39;
		_h = 46;
		break;
	case 4:
	case 5:
	case 6:
		_w = 36;
		_h = 31;
		break;
	case 7:
	case 8:
	case 9:
		_w = 63;
		_h = 18;
		break;
	}
	document.write('<div id="webenewsPunkte"><iframe name="webenewsPunkteFrame" src="'
					+ WN_u
					+ '&type='
					+ WN_Type
					+ '&layout='
					+ (typeof WN_Color != 'undefined' ? WN_Color : 'red')
					+ '&url='
					+ encodeURIComponent(window.location.href)
					+ '" width="'
					+ _w
					+ '" height="'
					+ _h
					+ '" frameborder="0" scrolling="no"></iframe></div>');
}
document.write('<scr' + 'ipt type="text/javascript" src="' + WN_u + '&url='
		+ encodeURIComponent(window.location.href) + '&WN_check=1"></scr'
		+ 'ipt>');