// JavaScript Document

function shownews(obj){
setleftposition(obj)
xx = "news_full" + obj;
document.getElementById(xx).style.display = "inline";
}

function hidenews(obj){
xx = "news_full" + obj;
document.getElementById(xx).style.display = "none";
}

function setleftposition(obj){

var xxx = screen.width
if (xxx==1600) {xposition = 308}
if (xxx==1440) {xposition = 228}
if (xxx==1366) {xposition = 191}
if (xxx==1280) {xposition = 148}
if (xxx==1152) {xposition = 84}
if (xxx<1025) {xposition = 28}

xx = "news_full" + obj;
document.getElementById(xx).style.left=xposition + "px";
}