var flag=1;

//Specify the slider's width (in pixels)
var sliderwidth="200px"
//Specify the slider's height
var sliderheight="155px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
//slidebgcolor=""

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<TABLE><TR><TD><A HREF="burns-and-antiseptic-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/FK/KD/MY-1014825/image1-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Burns And Antiseptic Formulations"></A></TD><TD><A HREF="antiseptic-antibacterial-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/BF/UN/MY-1014825/image6-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Antiseptic / Antibacterial Formulations"></A></TD><TD><A HREF="antibacterial-antifungal-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/RJ/UE/MY-1014825/image8-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Antibacterial /Antifungal Formulations"></A></TD><TD><A HREF="antifungal-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/VX/DQ/MY-1014825/antifungal-formulations-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Antifungal Formulations"></A></TD><TD><A HREF="analgesic-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/YJ/CP/MY-1014825/image17-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Analgesic Formulations"></A></TD><TD><A HREF="acne-pimples-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/JW/XG/MY-1014825/image20-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Acne Pimples Formulations"></A></TD><TD><A HREF="corticosteroid-antibacterial-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/SV/XY/MY-1014825/image22-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Corticosteroid / Antibacterial Formulations"></A></TD><TD><A HREF="corticosteroid-antifungal-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/EF/QK/MY-1014825/image25-250x250.jpg" WIDTH="125" HEIGHT="125" ALT="Corticosteroid /Antifungal Formulations"></A></TD><TD><A HREF="antibacterial-formulations.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/DF/AH/MY-1014825/acyclovir-ointment-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="AntiBacterial Formulations"></A></TD><TD><A HREF="corticosteriod-antifungal-antibacteria.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/OF/FI/MY-1014825/triple-action-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Corticosteriod/Antifungal/Antibacteria"></A></TD><TD><A HREF="corticosteriod.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/HX/FU/MY-1014825/beclomethasone-dipropionate-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Corticosteriod"></A></TD><TD><A HREF="demelanizing-agents.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/YN/PB/MY-1014825/azelaic-acid-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Demelanizing Agents"></A></TD><TD><A HREF="mouth-ulcer-gel.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/CY/OA/MY-1014825/mouth-ulcer-gel-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Mouth Ulcer Gel"></A></TD><TD><A HREF="herbal-ayurvedic-formulation.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/SP/LD/MY-1014825/kremoint-gripe-water-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Herbal / Ayurvedic Formulation"></A></TD><TD><A HREF="moisturising-cream.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/RS/KI/MY-1014825/glycerin-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Moisturising Cream"></A></TD><TD><A HREF="anti-scabies-lotion.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/IS/WG/MY-1014825/gamma-cetrimide-benzocaine-lotion-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Anti Scabies Lotion"></A></TD><TD><A HREF="local-anesthetic.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/UC/XE/MY-1014825/lignociane-hydrochloride-methyl-paraben-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="local Anesthetic"></A></TD><TD><A HREF="cold-cough-relief-gel.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/GB/KB/MY-1014825/cough-cold-relief-gel-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Cold & Cough Relief Gel"></A></TD><TD><A HREF="anti-microbial-formulatiion.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/US/NR/MY-1014825/fusidic-acid-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Anti Microbial formulatiion"></A></TD><TD><A HREF="topical-antibiotic.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/UY/YW/MY-1014825/framycetin-sulphate-dexamethsone-acetate-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Topical Antibiotic"></A></TD><TD><A HREF="urea-cream.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/LN/OS/MY-1014825/urea-cream-with-natural-moisturising-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Urea cream"></A></TD><TD><A HREF="anti-psoriasis.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/MM/WT/MY-1014825/ocinoxate-zinc-oxide-allantoin-lotion-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Anti Psoriasis"></A></TD><TD><A HREF="sun-protection-cream.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/OS/FX/MY-1014825/micronised-zinc-oxide-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Sun protection cream"></A></TD><TD><A HREF="topical-depigmentation-formulation.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/KT/HY/MY-1014825/topical-depigmentation-cream-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Topical Depigmentation formulation"></A></TD><TD><A HREF="vitamin-a-deficiency.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/MU/JI/MY-1014825/vitamin-a-deficiency-gel-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Vitamin A Deficiency"></A></TD><TD><A HREF="topical-formulation.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/DE/SG/MY-1014825/dexpanthenol-gel-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Topical Formulation"></A></TD><TD><A HREF="anti-acne-formulation.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/HI/VB/MY-1014825/clindamycin-isotretinoin-ethanol-gel-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Anti acne formulation"></A></TD><TD><A HREF="endocervical-application.html" CLASS="hni vr" TARGET="_top"><IMG SRC="http://2.imimg.com/data2/NH/WT/MY-1014825/dinoprostone-gel-125x125.jpg"  WIDTH="125" HEIGHT="125" ALT="Endocervical application"></A></TD></tr><tr><TD align="CENTER"><A HREF="burns-and-antiseptic-formulations.html" TARGET="_top" CLASS="hpr vr fn">Burns And Ant..</A></TD><TD align="CENTER"><A HREF="antiseptic-antibacterial-formulations.html" TARGET="_top" CLASS="hpr vr fn">Antiseptic / ..</A></TD><TD align="CENTER"><A HREF="antibacterial-antifungal-formulations.html" TARGET="_top" CLASS="hpr vr fn">Antibacterial..</A></TD><TD align="CENTER"><A HREF="antifungal-formulations.html" TARGET="_top" CLASS="hpr vr fn">Antifungal Fo..</A></TD><TD align="CENTER"><A HREF="analgesic-formulations.html" TARGET="_top" CLASS="hpr vr fn">Analgesic For..</A></TD><TD align="CENTER"><A HREF="acne-pimples-formulations.html" TARGET="_top" CLASS="hpr vr fn">Acne Pimples ..</A></TD><TD align="CENTER"><A HREF="corticosteroid-antibacterial-formulations.html" TARGET="_top" CLASS="hpr vr fn">Corticosteroi..</A></TD><TD align="CENTER"><A HREF="corticosteroid-antifungal-formulations.html" TARGET="_top" CLASS="hpr vr fn">Corticosteroi..</A></TD><TD align="CENTER"><A HREF="antibacterial-formulations.html" TARGET="_top" CLASS="hpr vr fn">AntiBacterial..</A></TD><TD align="CENTER"><A HREF="corticosteriod-antifungal-antibacteria.html" TARGET="_top" CLASS="hpr vr fn">Corticosterio..</A></TD><TD align="CENTER"><A HREF="corticosteriod.html" TARGET="_top" CLASS="hpr vr fn">Corticosterio..</A></TD><TD align="CENTER"><A HREF="demelanizing-agents.html" TARGET="_top" CLASS="hpr vr fn">Demelanizing ..</A></TD><TD align="CENTER"><A HREF="mouth-ulcer-gel.html" TARGET="_top" CLASS="hpr vr fn">Mouth Ulcer G..</A></TD><TD align="CENTER"><A HREF="herbal-ayurvedic-formulation.html" TARGET="_top" CLASS="hpr vr fn">Herbal / Ayur..</A></TD><TD align="CENTER"><A HREF="moisturising-cream.html" TARGET="_top" CLASS="hpr vr fn">Moisturising ..</A></TD><TD align="CENTER"><A HREF="anti-scabies-lotion.html" TARGET="_top" CLASS="hpr vr fn">Anti Scabies ..</A></TD><TD align="CENTER"><A HREF="local-anesthetic.html" TARGET="_top" CLASS="hpr vr fn">local Anesthe..</A></TD><TD align="CENTER"><A HREF="cold-cough-relief-gel.html" TARGET="_top" CLASS="hpr vr fn">Cold & Cough ..</A></TD><TD align="CENTER"><A HREF="anti-microbial-formulatiion.html" TARGET="_top" CLASS="hpr vr fn">Anti Microbia..</A></TD><TD align="CENTER"><A HREF="topical-antibiotic.html" TARGET="_top" CLASS="hpr vr fn">Topical Antib..</A></TD><TD align="CENTER"><A HREF="urea-cream.html" TARGET="_top" CLASS="hpr vr fn">Urea cream</A></TD><TD align="CENTER"><A HREF="anti-psoriasis.html" TARGET="_top" CLASS="hpr vr fn">Anti Psoriasi..</A></TD><TD align="CENTER"><A HREF="sun-protection-cream.html" TARGET="_top" CLASS="hpr vr fn">Sun protectio..</A></TD><TD align="CENTER"><A HREF="topical-depigmentation-formulation.html" TARGET="_top" CLASS="hpr vr fn">Topical Depig..</A></TD><TD align="CENTER"><A HREF="vitamin-a-deficiency.html" TARGET="_top" CLASS="hpr vr fn">Vitamin A Def..</A></TD><TD align="CENTER"><A HREF="topical-formulation.html" TARGET="_top" CLASS="hpr vr fn">Topical Formu..</A></TD><TD align="CENTER"><A HREF="anti-acne-formulation.html" TARGET="_top" CLASS="hpr vr fn">Anti acne for..</A></TD><TD align="CENTER"><A HREF="endocervical-application.html" TARGET="_top" CLASS="hpr vr fn">Endocervical ..</A></TD></TR></TABLE>'

//Specify gap between each image (use HTML):
var imagegap=""

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=0


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-90000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table class="w9"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';" onMouseover="copyspeed=0" onMouseout="stop1()" onclick="stop()">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu">')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="stop1()"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="stop1()"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}

img11 = "ts/play.gif"; 
img12 = "ts/play1.gif";

img21 = "ts/stop.gif"; 
img22 = "ts/stop1.gif";

function stop1()
{
if(flag==1)
{
copyspeed=slidespeed
}
else
{
copyspeed=0;
}
}

function stop()
{
	if(flag==1)
	{
		copyspeed=0
		flag=0
      document['img'].src = img11;
      document['img1'].src = img22;
	}
}
function play()
{
   if(flag==0)
   {
      copyspeed=slidespeed
      flag=1;
      document['img'].src = img12;
      document['img1'].src = img21;
   }
}
