
function dm_window_open(file, width, height){
	window.open(file, "_blank", "width="+width+",height="+height+",titlebar=no,toolbar=no,location=no,status=no,menubar=yes,scrollbars=yes,resizable=yes");
}

img_first = 0;    
function img_move(num,text_el,order) {
	if (order!=undefined){
		img_first=num;
	} else {
		img_first = (img_first + num + article_img.length) % article_img.length;
	}
	document.images.article_img.width = article_img[img_first].width;
	document.images.article_img.height = article_img[img_first].height;
	document.images.article_img.src = article_img[img_first].src;
	document.getElementById(text_el).innerHTML=article_img[img_first].alt;
}