function design(pagnam)



{

today=new Date();



jran=today.getTime();



var number = 12;



var random_number="";



var image="";

var text_color="";



var ret;



ia=9301;



ic=49297;



im=233280;



jran = (jran*ia+ic) % im;



random_number = Math.ceil( (jran/(im*1.0)) *number);



// Loads the appropriate image and text color based on random number.



if (random_number==1) {







test="<div><img src='images/clientlogo1.jpg' width='97' height='40' alt='buytradebiz' border='0'/><img src='images/clientlogo4.jpg' width='97' height='40' alt='support 1000' border='0'/><img src='images/bion-teqlogo1.jpg' width='97' height='40' alt='Biontech' border='0'/><img src='images/tech_artisticlogo1.jpg' width='97' height='40' alt='Tech Artistic' border='0'/><img src='images/clientlogo9.jpg' width='97' height='40' alt='Thomson Kerr' border='0'/><img src='images/clientlogo6.jpg' width='97' height='40' alt='dualsim' border='0'/>'</div>" ;

name="";
description="";



}



if (random_number==2) {







test=" <div><img src='images/clientlogo8.jpg' width='97' height='40' alt='Raksource' border='0'/><img src='images/clientlogo11.jpg' width='97' height='40' alt='Solar Energy Power' border='0'/><img src='images/clientlogo15.jpg' width='97' height='40' alt='Tritech' border='0'/><img src='images/clientlogo17.jpg' width='97' height='40' alt='Scubez' border='0'/><img src='images/clientlogo14.jpg' width='97' height='40' alt='PM Pathway' border='0'/><img src='images/clientlogo21.jpg' width='97' height='40' alt='Level uno' border='0'/></div>";



name="";
description=" ";


}



if (random_number==3) {









test="<div><img src='images/clientlogo3.jpg' width='97' height='40' alt='ignition exhibits' border='0'/><img src='images/clientlogo2.jpg' width='97' height='40' alt='Barra Zone' border='0'/><img src='images/sv_exportslogo1.jpg' width='97' height='40' alt='SV Exports' border='0'/><img src='images/install-expresslogo1.jpg' width='97' height='40' alt='Install Express' border='0'/><img src='images/clientlogo19.jpg' width='97' height='40' alt='walkers welfare club' border='0'/><img src='images/clientlogo12.jpg' width='97' height='40' alt='cogzital templates' border='0'/></div>";



name="";
description="";





}



if (random_number==4) {







test=" <div><img src='images/clientlogo13.jpg' width='97' height='40' alt='client' border='0'/><img src='images/clientlogo20.jpg' width='97' height='40' alt='Trident' border='0'/><img src='images/clientlogo16.jpg' width='97' height='40' alt='Platoon' border='0'/><img src='images/clientlogo18.jpg' width='97' height='40' alt='buytradebiz' border='0'/><img src='images/clientlogo22.jpg' width='97' height='40' alt='buytradebiz' border='0'/><img src='images/clientlogo7.jpg' width='97' height='40' alt='buytradebiz' border='0'/>'</div>";



name="";
description="";



}
























if(pagnam=="fashion-gallery.php" || pagnam=="glamour-gallery.php" || pagnam=="glamour-gallery1.php" || pagnam=="portrait-gallery.php" || pagnam=="index.php" || pagnam=="index1.php")







{



line1="<div class='imagepagepos'><div class='sidecentercont' style='font-size:17px;color:#0e7fc7;'> Testimonial</div><div class='sidecentercont fullnewspos'><div class='testibggallery'>";



line2="<div class='testitextpos'><p><a href='testimonial.php' style='text-decoration:none;color:#666666;'>"+test+"</a></p><div class='quote clear'><p  style='color:#009fd0; padding-top:3px;font-size:13px; font-weight:bold;margin:0'>"+name+"</p><p  style='color:#009fd0; padding-top:3px;font-size:13px; font-weight:bold;margin:0;'>"+description+"</p></div></div></div>";



line3="";



line4="</div></div>";



ret=line1+line2+line3+line4;



}















else



{





line1="<div class='sidecentercont1'><img src='images/clients.jpg'/></div><div class='sidecentercont2' style='font-size:18px;color:#F48221;padding:8px 0 0px 10px;font-weight:bold;'>Our Clients</div><div class='sidecentercont' style='font-size:18px;color:#F48221;padding:10px 0 10px 0px;font-weight:bold;'> </div><div class='sidecentercont fullnewspos'><div class='testibg'>";



line2="<div class='testitextpos'><p><a href='testimonial.php' style='line-height:19px;color:#3c5768;text-decoration:none;'>"+test+"</a></p><div class='quote clear'><p  style='color:#009fd0;padding-top:5px;  font-size:11px; font-weight:bold;'>"+name+"</p><p  style='color:#009fd0;padding-top:5px;  font-size:11px; font-weight:bold;margin-bottom:10px;'>"+description+"</p></div></div></div>";





line3="<div  class='clsFloatRight customerpad'><a href='testimonial.php'>";



line4="</a> </div></div>";



ret=line1+line2+line3+line4;



                 }











document.getElementById('customer').innerHTML=ret;







}