function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var minS=11;
var maxS=18;

function increase() {
   var p = document.getElementById('div_Article_para1').getElementsByTagName('p');
   var p2 = document.getElementById('div_Article_para2').getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
	  if(p[i].style.fontSize) {
		 var s = parseInt(p[i].style.fontSize.replace("px",""));
	  } else {
		 var s = 12;
	  }
	  if(s!=maxS) {
		 s += 1;
	  }
	  p[i].style.fontSize = s+"px"
   }
   
    for(i=0;i<p2.length;i++) {
	  if(p2[i].style.fontSize) {
		 var s = parseInt(p2[i].style.fontSize.replace("px",""));
	  } else {
		 var s = 12;
	  }
	  if(s!=maxS) {
		 s += 1;
	  }
	  p2[i].style.fontSize = s+"px"
   }
}
function decrease() {
   var p = document.getElementById('div_Article_para1').getElementsByTagName('p');
   var p2 = document.getElementById('div_Article_para2').getElementsByTagName('p');
   
   for(i=0;i<p.length;i++) {
	  if(p[i].style.fontSize) {
		 var s = parseInt(p[i].style.fontSize.replace("px",""));
	  } else {
		 var s = 12;
	  }
	  if(s!=minS) {
		 s -= 1;
	  }
	  p[i].style.fontSize = s+"px"
   }  
   
   for(i=0;i<p2.length;i++) {
	  if(p2[i].style.fontSize) {
		 var s = parseInt(p2[i].style.fontSize.replace("px",""));
	  } else {
		 var s = 12;
	  }
	  if(s!=minS) {
		 s -= 1;
	  }
	  p2[i].style.fontSize = s+"px"
   } 
}
function artical_print()
{
	var a = window.open('','','width=756,height=600');
	a.document.open("text/html");
	a.document.write('<html><head><title>printing Deepam TV</title><link href="css/newsPrint.css" rel="stylesheet" type="text/css" /><style>div#ArticleTools{display:none;}</style></head><body>');
	a.document.write(document.getElementById('div_Article_para1').innerHTML);
	a.document.write(document.getElementById('div_Article_para2').innerHTML);
	a.document.write('</body></html>');    	
	a.document.close();
	a.print();
}
