function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function jspw3(d,m,f){ //v1.4 
	f=f.split(',');var b=f[15],u=f[17],c=f[0],sl="_v_w_d_";var hr="jspw3_pop.htm?"+eval('escape(m.replace(/\\//g,sl))');var ret=massage(f[10],f[11],f[12],f[13],f[14],f[1],String(f[2]),b,f[6]);if(ret!=''){hr+=","+ret[0]+","+c+","+escape(f[1])+","+f[2]+","+escape(f[3])+","+escape(f[4])+","+f[6]+","+f[7]+","+f[8]+","+f[9]+","+ret[4]+","+ret[5]+","+f[16]+","+f[19]+","+eval('d.replace(/\\//g,sl)')+","+escape(f[5]);b=(b)?"yes":"no";var features="resizable=yes,scrollbars="+b+",width="+ret[0]+",height="+ret[1]+",top="+ret[2]+",left="+ret[3];if(u&&!c){window.open(hr,gJspw3nm++,features);}else{if(gJspw3Obj && typeof gJspw3Obj=='object' && !gJspw3Obj.closed)gJspw3Obj.close();gJspw3Obj=window.open(hr,gJspw3nm++,features);}}else window.open(m);document.MM_returnValue=(f[18]==3);}

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


function addtree()
{
		d = new dTree('d');

		d.add(0,-1,'','');
		d.add(1,0,'Home','index.html','','','img/folder.gif','img/folder.gif');
		d.add(2,0,'About us','typesetters-services-company.html');
		d.add(3,2,'Company Profile','typesetters-services-company.html');
		//d.add(8,2,'Our Philosophy','pre-press-service-clients.html');
		d.add(13,2,'Locations','prepress-dublin.html');
		//d.add(14,13,'Ireland','prepress-dublin.html');
		//d.add(15,13,'India','locations_india.html','','','img/nolines_plus.gif','img/nolines_plus.gif');
		//d.add(27,15,'Chennai','locations_india.html');
		//d.add(28,15,'Coimbatore','locations_coimbatore.html');
		d.add(4,0,'Services','book-typesetting-services.html');
		d.add(16,4,'Typesetting','book-typesetting-services.html');
		d.add(17,4,'Copy Editing','copy-editing-service.html');
		d.add(18,4,'E-publishing','e-publishing-service.html');
		d.add(19,4,'Project Management','prepress-project-management.html');
		d.add(20,4,'Retrodigitisation','retrodigitization.html ');
		d.add(29,4,'Localization','localization.html');
		d.add(7,0,'Workflow','athena.html');
		d.add(23,7,'Athena','athena.html');
		d.add(22,7,'Prepress Workflow','prepress-process.html');
		d.add(30,7,'Localization Workflow','localization-workflow.html');
		d.add(24,7,'Job Tracking System','job_tracking.html');
		d.add(9,0,'Clients','typesetter-client-reputation.html','','','img/folder.gif','img/folder.gif');
		d.add(25,0,'Contact us','contact_us.html','','','img/folder.gif','img/folder.gif');
		d.add(6,0,'Get a quote','typesetter-price-quote.html','','','img/folder.gif','img/folder.gif');
		d.add(26,0,'Careers','typesetting-careers.html','','','img/folder.gif','img/folder.gif');
		document.write(d);

		var mynews = "";
		mynews = "<br/><table style='margin-left: 10px;line-spacing:0px;' width='170' height='220px' border='0' cellpadding='0' cellspacing='' class='cell-line'>";
		mynews += "<tr>";
		mynews += "<td class='cell-line-bottom1px divpad4px' style='background: #EBEBEB;text-align:center;height:10px'>";
		mynews += "<strong class='verdana15bluetitle'><a class='Link14' href='typesetting-Latest-News.html' style='text-decoration:none'>News</a></strong></td>";
		mynews += "</tr>";
		mynews += "<tr>";
		mynews += "<td class='divpad4px'>";
		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "<marquee Direction='up' width='150px' scrollamount='2' height='150px' onMouseOver='this.scrollAmount=0' onMouseOut='this.scrollAmount=2' >"




		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "<u>News - September 2011</u><br/><br/>";

		mynews += "Caitriona Kelly, Marketing Executive at Datapage International attended the 3rd Conference on Open Access Scholarly Publishing (COASP 2011) 21-23 September in Tallinn, Estonia (www.oaspa.org).<br/>"
		mynews += "<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews15_12'><strong>read more...</strong>"
		mynews += "</a></div><br />";

		mynews += "<u>News - August 2011</u><br/><br/>";

		mynews += "After 25 years of perfecting typesetting books and journals Datapage have recently setup a new Magazine division in Chennai, India. The Magazine team specialises in magazine designing, image research, and illustration/colouring. Contact us for free samples and quotes!<br/>"
		mynews += "<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews15_11'><strong>read more...</strong>"
		mynews += "</a></div>";


		mynews += "<br/>Datapage will be attending the 3rd Conference on Open Access Scholarly Publishing (COASP 2011) 21-23 September 2011 in Tallinn, Estonia (www.oaspa.org). There will be opportunities to arrange meetings with us."
		mynews += "<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews14_11'><strong>read more...</strong>"
		mynews += "</a></div>";

		mynews += "</div><br />";

		



		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "<u>News - July 2011</u><br/><br/>Datapage will be celebrating 25 years in business later this year and plan to commemorate this occasion. Watch the website for more details";
		mynews += "<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews13_11'><strong>read more...</strong>"
		mynews += "</a></div></div><br />";
		
		
		
		
		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "<u>News - June 2011</u><br/><br/>Datapage have recently attended the Localization World Conference. We plan to attend on annual basis";
		mynews += "<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews12_11'><strong>read more...</strong>"
		mynews += "</a></div></div><br />";		
		
		
		
		
		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "Scientific Digital Services Private Limited renamed as Datapage Digital Services Private Limited &ndash;  August 2, 2010 ";
		mynews += "<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews11'><strong>read more...</strong>"
		mynews += "</a></div></div><br />";
		
		mynews += "<div align='left' style='overflow:auto;line-height:14px;;display:block;white-space: normal'>Datapage to sponsor COASP &ndash; July 19, 2010<br />"
		mynews += "<div class='verdana11blue'><a href='typesetting-Latest-News.html#enews9'><strong>read more...</strong></a></div></div><br />";	
		
		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "Datapage (India) Private Limited shifts to new premises ";
		mynews += " &ndash; May 3, 2010<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews12'><strong>read more...</strong>"
		mynews += "</a></div></div><br />";
		
		mynews += "<div align='left' style='overflow:auto;line-height:14px;height:auto;display:block;white-space: normal;' >";
		mynews += "Tamilnadu IT Minister And Rural Industries Minister Launch Scientific Digital ";
		mynews += "Services ";
		mynews += " &ndash; September 22, 2009<div class='verdana11blue'>"
		mynews += "<a href='typesetting-Latest-News.html#enews10'><strong>read more...</strong>"
		mynews += "</a></div></div><br />";
		
		
		mynews += "<div align='left' style='overflow:auto;line-height:14px;;display:block;white-space: normal'> Co-Action Publishing, Datapage and T Marketing Launch OpenAccess<br />Solutions.com - April 2, 2009<br />"
		mynews += "<div class='verdana11blue'><a href='typesetting-Latest-News.html#enews1'><strong>read more...</strong></a></div></div>"		
		
		mynews += "</marquee></div>";
		mynews += "</td></tr></table><br/>";
		


		
//		mynews += "<table style='margin-left:10px;line-spacing:10px; background: #EBEBEB; vertical-align:middle' width='170' border='1' cellpadding='0' cellspacing='0' height='50px'><tr><td>";
		mynews += "<br/><div style='width:180px;height:auto;' >";
//		mynews += "<div class='' align='center' >";
		mynews += "<form action='search.html'  method='get' name='frmMain' id='frmMain' style='background: #EBEBEB; margin-left:10px;'>";
		mynews += "<script type='text/javascript'>function emptyinput(obj){obj.value = '';}</script>"
		mynews += "<table height='50px' border=0 cellspacing=0 cellpadding=0><tr><td style='vertical-align:middle;'><input name='zoom_query' id='search' class='search_input' size='15' value='Search this site' onclick='javascript:emptyinput(this)' type='text' />";
		mynews += "</td><td><a href='javascript:document.frmMain.submit();'>&nbsp;<img src='images/search.png' alt='Search information' width='32' height='32' border='0' align='absmiddle' /></a></td></tr></table>";
		mynews += "</form>";
//		mynews += "</div>";
		mynews += "</div>";
//		mynews += "</td></tr>";
//		mynews += "</table> ";

		document.write(mynews);

}

function NewOption(newval){
	document.getElementById("txtotherpubtype").value = "";
	if(newval=="Other"){
		document.getElementById("otherpubtype").style.visibility = "visible";
		document.getElementById("txtotherpubtype").focus();
	}
	else{
		document.getElementById("txtotherpubtype").value = document.frmSend.dimensions.value;
	}
}
function SubmitVal()
{
	if(document.frmSend.dimensions.value == "-")
	{
		alert('Please enter type of publication');
		return false;
	}else if(document.frmSend.compname.value == "")
	{
		alert('Please enter company name');
		return false;
	}else if(document.frmSend.name.value == "")
	{
		alert('Please enter name');
		return false;		
	}else if(document.frmSend.email.value == "")
	{
		alert('Please enter e-mail address');
		return false;
	}else
	{
		return true;
	}	

}

