CINXE.COM

Mazada Pharma Guide

<div id="overlay" style="display:block;"> <div id="closeBtn" onclick="closeOverlay()">X</div> <div id="closeBtn2" onclick="closeOverlay2()">X</div> <a id="imgOverlay" href="http://aipc.mazadapharmaguide.com/" target="_blank"> <img src="speakers.jpeg" alt="Overlay Image"> </a> <div id="divOverlay" class="card shadow mb-4 bg-white rounded"> <div class="card-body"> Mazda Publications invites articles on Latest Products, Technology, Policy Trends without being too Company/ Brand or Product specific. <p>Kindly email Your Contributions to:<br> <strong>Trishna Mirajkar</strong><br> Sub Editor<br> <strong>Mazda Publications</strong> <br> Email: mazdapharmaguide@gmail.com<br> Www.chemicalsourcingguide.com <br> </p> </div> <div class="card-footer"> Printing of the Article will be at Sole Discretion of the Publisher and Reason for acceptance or rejection of same is not answerable. </div> </div> </div> <style> #divOverlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto; max-height: 90%; display:none; /*display:none;*/ /*max-width:"60%;*/ /*margin:auto;*/ } #overlay { position: fixed; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); /* Black background with opacity */ z-index: 2; /* Sit on top */ cursor: pointer; /* Add a pointer on hover */ display:block; } #overlay img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90%; max-height: 90%; } #closeBtn { position: absolute; top: 10px; right: 10px; z-index: 3; cursor: pointer; padding: 5px; border: none; background-color: red; color: white; } </style> <script> // JavaScript functions will go here </script><base href="https://mazadapharmaguide.com/"> <head<!DOCTYPE html> <html lang="en"> <head> <style> #overlay { position: fixed; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); /* Black background with opacity */ z-index: 2000; /* Sit on top */ cursor: pointer; /* Add a pointer on hover */ } #overlay img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto; max-height: 90%; } #closeBtn { position: absolute; top: 10px; right: 10px; z-index: 3; cursor: pointer; padding: 5px; border: none; background-color: red; color: white; } #closeBtn2 { position: absolute; top: 10px; right: 10px; z-index: 3; cursor: pointer; padding: 5px; border: none; background-color: red; color: white; } .partnerDiv { margin: 15px 0px; border-bottom: 9px solid blue; padding: 15px 0px } </style> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-FGNLD2NGQS"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-FGNLD2NGQS'); </script> <script type="text/javascript"> _linkedin_partner_id = "4875529"; window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || []; window._linkedin_data_partner_ids.push(_linkedin_partner_id); </script><script type="text/javascript"> (function(l) { if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])}; window.lintrk.q=[]} var s = document.getElementsByTagName("script")[0]; var b = document.createElement("script"); b.type = "text/javascript";b.async = true; b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js"; s.parentNode.insertBefore(b, s);})(window.lintrk); </script> <noscript> <img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=4875529&fmt=gif" /> </noscript> <title>Mazada Pharma Guide</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <!--FontAwesome--> <script src="https://use.fontawesome.com/da857fdc5b.js"></script> <!--FontAwesome <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">--> <link rel="stylesheet" href="index.css"> <link rel="stylesheet" href="Hits_mazdaStyles.css"> <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> <!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <!-- Popper JS --> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <!-- Latest compiled JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script> <!-- Global site tag (gtag.js) - Google Analytics --> <!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-YHKV9LBR3N"></script> --> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-YHKV9LBR3N'); </script> </head> <body > <!--HEADER START--> <!--HEADER END--> <script> // JavaScript functions will go here function closeOverlay() { document.getElementById('overlay').style.display = 'none'; } function closeOverlay2() { document.getElementById('closeBtn2').style.display = 'none'; document.getElementById('imgOverlay').style.display = 'none'; document.getElementById('divOverlay').style.display = 'block'; } // Example function to open the overlay function openOverlay() { document.getElementById('overlay').style.display = 'block'; } </script> <meta property="og:title" content="Mazada Pharma Guide"> <meta property="og:description" content=""> <meta property="og:image" content="/images/slider/1.png"> <meta property="og:url" content="https://mazadapharmaguide.com/"> <meta name="twitter:card" content="summary_large_image"> <section> <div class="container-fluid mt-2"> <div class="row no-gutters"> <div class="cols col-sm-12 col-md-3 col-lg-2" id="SearchSideBar" > </div> <!--<div class=" col-sm-12 col-md-6 col-lg-8 pl-2 pr-2" >--> <!-- <img src="Assets/images/mediaevents/DuphatTech.jpeg">--> <!-- </div>--> <div class=" col-sm-12 col-md-6 col-lg-8 pl-2 pr-2" id="Content" > <div style="display: none ;" class="card boxshadow mb-4 p-2" id="News"> <a href="https://duphat.ae/?utm_source=website&utm_medium=mazada.com&utm_campaign=Aquasyn_duphat&utm_content=210923" target="_blank"> <img src="Assets/images/mediaevents/DuphatTech.jpeg"></a> </div> <div style="display:block;" class="card boxshadow mb-4" id="ContentsDiv"> <div class="card-header mb-4">Mazda Publications <img src="Assets/images/MazdaCPHI.jpeg" style="width:100%;"> <!-- <br><srong><span class="SubPrice">Publish your Article in a special supplement for CPHI India 2022</span></strong><br> 29th NOV - 1st December 2022 India Expo Center, Greater Noida. --> </div> <form class="form effectsI ml-auto mr-auto container" method="POST" action="?menu=ThankyouforAdvt" id="QuickEnq"> <input value="" name="email" value="" type="email" class="form-control" id="email" aria-describedby="email" placeholder="Enter Email*" required> <input value="" name="contactperson" type="name" class="form-control" id="contactperson" aria-describedby="contactperson" placeholder="Enter Contact Person*" required > <input value="" name = "contactnumber" type="mobile" class="form-control" id="mobile" aria-describedby="contactnumber" placeholder="Enter Contact Number*" required> <input value="" name = "companyname" type="text" class="form-control" id="companyname" aria-describedby="companyname" placeholder="Enter Company/Organisation Name*" required> <div class="checkbox"> <label><input name="PrintRegular" type="checkbox" value="Y">Print Regular</label> </div> <div class="checkbox"> <label><input name="PrintPackages" type="checkbox" value="Y">Print Packages</label> </div> <!-- <textarea name = "message" type="message" class="form-control" id="message" aria-describedby="message" placeholder="Enter Message"></textarea> --> <input type="submit" name="submit" value="Submit" /> </form> </div> </div> <div class="col-sm-12 col-md-3 col-lg-2"> </div> </div> <!-- <div id="MainContent" class="container"> </div>--> <footer> <section class="container-fluid text-center footer-section" style="background-color: black; color: white; font-size: 12px; margin-top: 19px; left: 0; right: 0; position: absolute;"> <div class="container-fluid"> <div class="row"> <div class="col-md-4"> <div class="single-footer-widget"> <h3>Address</h3> <p>1 A , Sharma Compound , Old Nagardas Road<br>Opp Abhudaya Bank , Andheri East, Mumbai<br>Maharashtra 400069</p> </div> </div> <div class="col-md-4"> <div class="single-footer-widget"> <h3>Email</h3> <p> mazdapharmaguide@gmail.com </p> <div class="" id="mc_embed_signup"></div> </div> </div> <div class="col-md-4"> <div class="single-footer-widget"> <h3>Contact</h3> <p>8652813388</p> </div> </div> </div> </div> <div id="developer" class="container-fluid"><center><a target="_blank" href="https://www.humansitsolutions.in">Designed by Humans Information Technology Solutions</a></center> <br> <center> Copyright: Mazda Publications</center></div> </section> </footer> <script> $("#txtSearchP").keyup(function(event) { if (event.keyCode === 13) { $("#btnGo").click(); //alert("L"); //getCompProducts(); } }); function getBuyLead(){ //alert("Are looking for some sepcific product"); document.getElementById("overlay").innerHTML=""; //var a =sel.innerHTML; //var res = a.replace("View <br>", ""); //res= res.replace("&amp;","%26"); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("ModalTitle").innerHTML="Tell us what you need" document.getElementById("overlay").innerHTML=c; document.getElementById("overlay").style.display="block"; window.scrollTo(0, 0); } }; xmlhttp.open("GET", "buyLead.php", true); xmlhttp.send(); //window.open("DigitalEditions.php?url="+res); $('#myModal').modal('show'); } r function postEventEnqForm(DivID){ var msgDiv = document.getElementById("eventEnqMsg-"+DivID); msgDiv.innerHTML=""; //Type,DateTime,VisitorName,VisitorMobile,idComp,CompName,ProductService,Description //https://complete-e-solutions.com/Mazda/backup/postEnquiryForm.php?Type=A&CompName=comp&idComp=W&ProductService=PS&Description=des // ideventsEnq CompanyName Name Designation Department City Email Mobile TypeParticipation idVisitor var ideventsEnq= document.getElementById("ideventsEnq-"+DivID).value; var CompanyName= document.getElementById("CompanyName-"+DivID).value; var Name=document.getElementById("Name-"+DivID).value; var Designation= document.getElementById("Designation-"+DivID).value; var Department= document.getElementById("Department-"+DivID).value; var City= document.getElementById("City-"+DivID).value; var Email= document.getElementById("Email-"+DivID).value; var Mobile= document.getElementById("Mobile-"+DivID).value; var TypeParticipation= document.getElementById("TypeParticipation-"+DivID).value; //var idVisitor= document.getElementById("idVisitor-"+DivID).value; var idVisitor=""; var Di = document.getElementById("eventEnq-"+DivID); if(CompanyName.length==0 || Name.length==0 || Designation.length==0 || Department.length==0 || City.length==0 || Email.length==0 || Mobile.length==0 || TypeParticipation.length==0) { msgDiv.innerHTML="<div class=' alert alert-danger'>Kindly fill all the details</div>"; return; } //Di.innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; // document.getElementById("searchedProducts").innerHTML=c; // document.getElementById("searchedProducts").style.display="block"; Di.innerHTML=c; } }; // ideventsEnq CompanyName Name Designation Department City Email Mobile TypeParticipation idVisitor xmlhttp.open("GET", "postEventEnquiryForm.php?ideventsEnq="+ideventsEnq+"&CompanyName="+CompanyName+"&Name="+Name+"&Designation="+Designation+ "&Department="+Department+"&City="+City +"&Email="+Email+"&Mobile="+Mobile+"&TypeParticipation="+TypeParticipation+"&idVisitor="+idVisitor +"&DivID="+DivID, true); xmlhttp.send(); } function postEnqForm(DivID){ //Type,DateTime,VisitorName,VisitorMobile,idComp,CompName,ProductService,Description //https://complete-e-solutions.com/Mazda/backup/postEnquiryForm.php?Type=A&CompName=comp&idComp=W&ProductService=PS&Description=des var idLeads= document.getElementById("idLeads-"+DivID).value; // alert(idLeads); var Type= document.getElementById("Type-"+DivID).value; var VisitorName= document.getElementById("VisitorName-"+DivID).value; var VisitorMobile= document.getElementById("VisitorMobile-"+DivID).value; var idComp= document.getElementById("idComp-"+DivID).value; // alert (idComp + " | " + DivID); var CompName=document.getElementById("CompanyName-"+DivID).value; //var CompName="LLL"; //alert (CompName); var ProductService= document.getElementById("ProductService-"+DivID).value; var Description= document.getElementById("Description-"+DivID).value; var Di = document.getElementById("idLeads-"+DivID); //Di.innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; // document.getElementById("searchedProducts").innerHTML=c; // document.getElementById("searchedProducts").style.display="block"; Di.value=c; } }; xmlhttp.open("GET", "postEnquiryForm.php?idLeads="+idLeads +"&Type ="+Type+"&VisitorName="+VisitorName+"&VisitorMobile="+VisitorMobile+"&idComp="+idComp+"&CompName="+ CompName +"&ProductService=" +ProductService+"&Description="+Description +"&DivID="+DivID, true); xmlhttp.send(); } function getEnqForm(type,idComp,CompName,pn,DivID){ //https://complete-e-solutions.com/Mazda/backup/enquiryForm.php?Type=A&CompName=comp&idComp=W&ProductService=PS&Description=des //var idComp= document.getElementById("CompId-"+n"-"+r).innerHTML; //var CompName= document.getElementById("CompName-"+n"-"+r).innerHTML; //var ProductService= pn; //Var Type="Buy"; var Di = document.getElementById("Enq"+DivID); Di.innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; // document.getElementById("searchedProducts").innerHTML=c; // document.getElementById("searchedProducts").style.display="block"; Di.innerHTML=c; } }; xmlhttp.open("GET", "enquiryForm.php?Type ="+type+"&idComp="+idComp +"&CompName="+ CompName +"&ProductService=" + pn+"&DivID="+DivID, true); xmlhttp.send(); } function getCompProducts(){ document.getElementById("ModalTitle").innerHTML="Product Index"; var sel = document.getElementById("txtSearchP").value; var ty = document.getElementById("searchtype").innerHTML; //alert(ty); if(ty=="P"){ // alert ("1"); document.getElementById("ModalTitle").innerHTML="Product Index"; getProductsfromAlpha(sel); }else { // alert ("2"); document.getElementById("ModalTitle").innerHTML="Advertisers Index"; getCompsfromAlpha(sel); } } function getProductsfromAlpha(sel){ sel= sel.replace("&","%26"); adate= sel; searched=document.getElementById("overlay").innerHTML; document.getElementById("overlay").innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; // document.getElementById("searchedProducts").innerHTML=c; // document.getElementById("searchedProducts").style.display="block"; document.getElementById("overlay").innerHTML=c; } }; xmlhttp.open("GET", "getProducts.php?pn=" + adate + "" , true); xmlhttp.send(); } function getCompsfromAlpha(sel){ sel= sel.replace("&","%26"); adate= sel; searched=document.getElementById("overlay").innerHTML; document.getElementById("overlay").innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("overlay").innerHTML=c; document.getElementById("overlay").style.display="block"; } }; xmlhttp.open("GET", "getCompsA.php?pn=" + adate + "" , true); xmlhttp.send(); } function getCompDetails(sel,num){ document.getElementById("d-"+num).innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var adate= sel; adate= adate.replace("&amp;","%26"); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("d-"+num).innerHTML=c; document.getElementById("d-"+num).style.display="block"; window.scrollTo(0, 0); } }; xmlhttp.open("GET", "getCompDetails.php?pn=" + adate + "&n=" + num , true); xmlhttp.send(); } function getComp(sel, num){ document.getElementById("c-"+num).innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var adate= sel.innerHTML; adate= adate.replace("&amp;","%26"); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("c-"+num).innerHTML=c; document.getElementById("c-"+num).style.display="block"; window.scrollTo(0, 0); } }; xmlhttp.open("GET", "getComps.php?pn=" + adate + "&n=" + num , true); xmlhttp.send(); } function SearchProducts(){ //txtSearchP document.getElementById("searchedAlphabets").innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("searchedAlphabets").innerHTML=c; document.getElementById("searchedAlphabets").style.display="block"; } }; xmlhttp.open("GET", "getProductsAlpha.php?pn=" , true); xmlhttp.send(); } function SearchComps(){ //txtSearchP document.getElementById("companies").innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("companies").innerHTML=c; document.getElementById("companies").style.display="block"; } }; xmlhttp.open("GET", "getCompsAlpha.php?pn=" , true); xmlhttp.send(); } </script> <script> function setType(s){ //document.getElementById("searchedProducts").innerHTML=""; //alert (s); document.getElementById("searchtype").innerHTML=s; var input = document.getElementById ("txtSearchP"); if(s=="P"){ //document.getElementById("searchtype").Va=s; input.placeholder = "Enter Product"; }else{ input.placeholder = "Enter Advertiser"; } } </script> <script> </script> <script> function changecolin(sel){ sel.style.backgroundColor="Red"; } function changecolout(sel){ sel.style.backgroundColor="white"; } </script> <script> function hide(){ document.getElementById("overlay").style.display="none"; } $(document).ready(function() { //SearchProducts(); //SearchComps(); }); </script> <script type="text/javascript"> $('#ColourPagesCarousel').on('slide.bs.carousel', function (e) { var $e = $(e.relatedTarget); var idx = $e.index(); var itemsPerSlide = 4; var totalItems = $('.carousel-item').length; if (idx >= totalItems-(itemsPerSlide-1)) { var it = itemsPerSlide - (totalItems - idx); for (var i=0; i<it; i++) { // append slides to end if (e.direction=="left") { $('.carousel-item').eq(i).appendTo('.carousel-inner'); } else { $('.carousel-item').eq(0).appendTo('.carousel-inner'); } } } }); /* $(document).ready(function() { /* show lightbox when clicking a thumbnail $('a.thumb').click(function(event){ event.preventDefault(); var content = $('.modal-body'); content.empty(); var title = $(this).attr("title"); $('.modal-title').html(title); content.html($(this).html()); $(".modal-profile").modal({show:true}); }); }); */ </script> </body> </html> <script> var images = new Array ("paper/Mazda_Pharma_Guide/the_mazada_pharma_guide_1stapril2024.jpeg", "paper/Mazda_Pharma_Guide/1st_Dec_2018_Title.jpg","paper/Mazda_Chemical_Sourcing_Guide/Chemical_Sourcing_Guide_Sep_2019.jpg","paper/Mazda_API_Bulk_Directory/Mazda_API_Bulk_Directory_2019_2020.jpg","paper/Mazda_Formulators_Directory_2018-2019/Mazda_Formulators_Directory_2018_2019.jpg","paper/Mazda_Pharma_Guide/CPHI_Edition_2019_Title.jpg","paper/cphi/cphi_special_supplement_-_november_2022.jpg"); //alert (images[3]); var imagesS = new Array ( 'paper/Mazda_Chemical_Sourcing_Guide/CSG_SEP_22.png','paper/Mazda_API_Bulk_Directory/Mazda_API_Bulk_Directory_2019_2020.jpg','paper/Mazda_Formulators_Directory_2018-2019/Mazda_Formulators_Directory_2018_2019.jpg','paper/Mazda_Pharma_Guide/CPHI_Edition_2019_Title.jpg','paper/cphi/cphi_special_supplement_-_november_2022.jpg', ); var pages = new Array ( 'DigitalEditions.php?url=chemical_sourcing_guide_-_september_2022','DigitalEditions.php?url=cphi_special_supplement_-_2019','DigitalEditions.php?url=cphi_special_supplement_-_november_2022', ); var pagesTitle = new Array ("The Mazada Pharma Guide","Chemical Sourcing Guide","All India API & Bulk Drug Directory 2019-2020","All India Formulators Directory 2019-2020","CPHI India Special Supplement - 2019","The CPHI Special Supplement November 2022"); var pagesTitles = new Array ( 'Chemical Sourcing Guide','CPHI India Special Supplement - 2019 ','The CPHI Special Supplement November 2022', ); var index = 0; function rotateImage() { $('#myImage').fadeOut(3000, function() { $('#myImage').attr('src', images[index]); //document.getElementById("myImage").src = images[index]; // alert(images[index]); $('#btnEdition').html(pagesTitle[index]); $('#txtEdition').val(pagesTitle[index]); $('#urlEdition').prop('href', pages[index-1]); $(this).fadeIn(3000, function() { //alert("length"); if (index == images.length-1) { // alert(index); index = 0; //pindex=1; } else { index++; // alert(index); //pindex++; } }); }); } $(document).ready(function() { setInterval (rotateImage,3000); }); function ViewDigitalEdition(sel){ document.getElementById("ModalTitle").innerHTML="Digital Edition"; sel=sel.trim(); alert(sel); document.getElementById("overlay").innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; var a =sel; var res = a.replace("View ", ""); res= res.replace("&amp;","%26"); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("overlay").innerHTML=c; document.getElementById("overlay").style.display="block"; window.scrollTo(0, 0); } }; xmlhttp.open("GET", "DigitalEditions.php?mainurl="+res , true); xmlhttp.send(); } function ViewDigitalEditions(sel){ document.getElementById("DigitalE").submit(); // document.getElementById("overlay").innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; // //alert ("L"); // var a =sel.innerHTML; // var res = a.replace("View ", ""); // res = res.replace("View", ""); // res = res.replace("/n", ""); // res = res.trim(); // res= res.replace("&amp;","%26"); // window.open("DigitalEditions/"+res); // var xmlhttp = new XMLHttpRequest(); // xmlhttp.onreadystatechange = function() { // if (this.readyState == 4 && this.status == 200) // { // var c= this.responseText; // document.getElementById("overlay").innerHTML=c; // document.getElementById("overlay").style.display="block"; // window.scrollTo(0, 0); // } // }; // xmlhttp.open("GET", "DigitalEditions.php?url="+res , true); // xmlhttp.send(); //window.open("DigitalEditions.php?url="+res); } function OoldgetProductsfromAlpha(sel){ //adate= document.getElementById("txtSearchP").value; adate= sel.innerHTML; anos = sel.id; var ano= anos.split('-'); searched=document.getElementById("SP-"+ano[1]).innerHTML; if (searched.length==0){ document.getElementById("SP-"+ano[1]).innerHTML="<div align=center style='margin; auto 0; width:100%;'><img width=200px src=https://complete-e-solutions.com/Mazda/backup/Assets/images/searching.gif></div>"; // { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("SP-"+ano[1]).innerHTML=c; document.getElementById("SP-"+ano[1]).style.display="block"; } }; xmlhttp.open("GET", "getProducts.php?pn=" + adate + "" , true); xmlhttp.send(); }else{ if(document.getElementById("SP-"+ano[1]).style.display=="none"){ document.getElementById("SP-"+ano[1]).style.display="block"; }else{ document.getElementById("SP-"+ano[1]).style.display="none"; } } } $('[data-toggle="tooltip"]').tooltip() function adjustBannerAdds() { var s = document.getElementById("Ads").clientWidth; //alert(s); sF = s-15; //alert(sA) sF = sF/2; sF = Math.floor(sF); sH = s-30; sH = sH/3; sH = Math.floor(sH); sQ = s-75; sQ = sQ/6; sQ = Math.floor(sQ); //BannerAdsimgA var elementsA = document.getElementsByClassName("BannerAdsimgF"); for (var i = 0; i < elementsA.length; i++) { elementsA[i].style.width=(sF+"px"); if (i<1) { elementsA[i].style.marginRight=(+"12px"); } } var elements = document.getElementsByClassName("BannerAdsimgH"); for (var i = 0; i < elements.length; i++) { elements[i].style.width=(sH+"px"); if (i<=1) { elements[i].style.marginRight=("10px"); } } var elements = document.getElementsByClassName("BannerAdsimgQ"); for (var i = 0; i < elements.length; i++) { elements[i].style.width=(sQ+"px"); if (i<=4) { elements[i].style.marginRight=("12px"); } } } function getaComp(idComp){ document.getElementById("overlay").innerHTML=""; var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var c= this.responseText; document.getElementById("ModalTitle").innerHTML="Contact" document.getElementById("overlay").innerHTML=c; document.getElementById("overlay").style.display="block"; window.scrollTo(0, 0); } }; xmlhttp.open("GET", "getaComp.php?pn="+idComp, true); xmlhttp.send(); //window.open("DigitalEditions.php?url="+res); $('#myModal').modal('show'); } </script> <div class="modal fade" id="myModal" style="padding-right:20px !important;"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <center> <span class="modal-title" id="ModalTitle">Digital Editions</span></center> <button type="button" class="close" data-dismiss="modal">脳</button> </div> <!-- Modal body --> <div class="modal-body"> <div id="overlay"></div> </div> </div> </div> </div> <div class="modal fade" id="myModalEnq" style="padding-right:20px !important;"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header"> <center> <span class="modal-title" id="ModalTitle">Leads</span></center> <button type="button" class="close" data-dismiss="modal">脳</button> </div> <!-- Modal body --> <div class="modal-body"> <div id="overlayEnq"></div> </div> </div> </div> </div> </div> </section> </body> </html> <script> function loadNews(){ var http = new XMLHttpRequest(); xmlhttp.onreadystatechange= function(){ if(this.readyState == 4 && this.readyState == 200){ alert(response); }; xmlhttp.open("GET","https://tools.prnewswire.com/en-us/live/21585/list/landing", true); xmlhttp.send } } function truncate(str, no_words) { return str.split(" ").splice(0,no_words).join(" "); } function myFunction(xml) { var i; var xmlDoc = xml.responseXML; // console.log(xmlDoc); // var table="<tr><th>Artist</th><th>Title</th></tr>"; var x = xmlDoc.getElementsByTagName("item"); var nnewss=""; for(i=0;i<x.length;i++){ let str=x[i].getElementsByTagName("description")[0].childNodes[0].nodeValue; let doc = new DOMParser().parseFromString(str, 'text/html'); //truncate(x[i].getElementsByTagName("description")[0].childNodes[0].nodeValue, 15) let todisplay= doc.querySelector('p').textContent; // if(todisplay.length==111){ // todisplay = doc.querySelector('div').textContent ; // } nnewss+="<div class='card' style='margin-bottom: 5px;'>"+ "<div class='card-header-news' style='cursor:pointer;' data-toggle='collapse'"+ "data-target='#News"+i+"'><h4>"+ x[i].getElementsByTagName("title")[0].childNodes[0].nodeValue+"<span class='NewsDate'> </h4>"+ x[i].getElementsByTagName("pubDate")[0].childNodes[0].nodeValue+"</span><br>"+ "<span id='NewsSpan"+i+"'>" + todisplay + "</span>... <span class='readmore' onClick='ShowNews(" + i +")'> Read more</span></div>"+ "<div id='News"+i+"'class='collapse';>"+ "<div class='NewsBody card-body'>"+x[i].getElementsByTagName("description")[0].childNodes[0].nodeValue +"</div>"+ "</div></div>"; // nnewss=`<div class="row"> // <div class=" card cols col-6"> // <h2>`+x[i].getElementsByTagName("title")[0].childNodes[0].nodeValue+`</h2> // <right>`+x[i].getElementsByTagName("pubDate")[0].childNodes[0].nodeValue+`</right> // <div>`+x[i].getElementsByTagName("description")[0].childNodes[0].nodeValue +`</div> // </div> // </div>`; } document.getElementById("NewsChannel").innerHTML = nnewss; } function ShowNews(i){ } </script>

Pages: 1 2 3 4 5 6 7 8 9 10