document.onmouseover = function ( e ) {   
if ( !e ) e = window.event;   
var el = e.target ? e.target : e.srcElement;   
while ( el != null && el.tagName != "A" ) el = el.parentNode;   
if ( el == null ) return;   
if ( e.preventDefault ) e.preventDefault();   
else e.returnValue = true;};
var gb_W; var gb_H; var gb_X; var gb_Y;
function returnArticleCoors(W,H) {
	if (screen.width == 640) {
		if ((screen.width - 140) < W) W = screen.width - 120;
		if ((screen.height - 240) < H) H = screen.height - 240;
	}
	else if (screen.width == 800){
		if ((screen.width - 170) < W) W = screen.width - 150;
		if ((screen.height - 240) < H) H = screen.height - 240;
	}
	else if (screen.width == 1024){
		if ((screen.width - 140)< W) W = screen.width - 240;
		if ((screen.height - 240) < H) H = screen.height - 240;
	}
	else if (screen.width == 1152){
		if ((screen.width - 260) < W) W = screen.width - 240;
		if ((screen.height - 240) < H) H = screen.height - 240;
	}
	else if (screen.width == 1280){
		if((screen.width - 260) < W) W = screen.width - 240;
		if ((screen.height - 240) < H) H = screen.height - 240;
	}
	else if (screen.width == 1400){
		if((screen.width - 280)< W) W = screen.width - 260;
		if ((screen.height - 250) < H) H = screen.height - 230;
	}
	else if (screen.width == 1600){
		if((screen.width - 280)< W) W = screen.width - 260;
		if ((screen.height - 250) < H) H = screen.height - 230;
	}
	else if (screen.width == 1920){
		if ((screen.width - 300) < W) W = screen.width - 280;
		if ((screen.height - 250) < H) H = screen.height - 230;
	}
	else if (screen.width > 1920) {
		if((screen.width - 320)< W) W = screen.width - 300;
		if ((screen.height - 260) < H) H = screen.height - 240;
	}
	else if (screen.width < 640) {
		if((screen.width - 140) < W) W = screen.width - 120;
		if((screen.height - 240)<H) H = screen.height - 220;
	}
	if (W < 350) W = 350;
	if (H < 280) H = 280;
	if (W < 620 ) gb_W = 620;
	else gb_W = W+20;
	gb_H = H + 50;
	x = (screen.width - gb_W)/2 ;
	y = (screen.height - gb_H)/2 ;
	gb_X = x;
	gb_Y = y;
}  