function design(pagnam)

{
today=new Date();

jran=today.getTime();

var number = 11;

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) {

image="webimages/testbrit5big.jpg";

test="Working with Slickforce has been the best shooting experience I've ever had. ";
name="- Brittany Dailey";

}

if (random_number==2) {

image="webimages/testdaphne1big.jpg";

test="I have always been a fan of Nick's work, and to finally work with him was very exciting!";

name="- Daphne Joy";

}

if (random_number==3) {


image="webimages/testkimk2big.jpg";

test="I am beyond speechless.  This is the best shoot ever!";

name="- Kim Kardashian ";


}

if (random_number==4) {

image="webimages/testlayla5big.jpg";

test="Many photographers don't know how to capture women w/ exotic features, but Nick always nails it.";

name="- Layla Kayleigh ";

}

if (random_number==5) {
image="webimages/testcoco3big.jpg";

test="I've been modeling for 12 years, & I've never worked with anyone like Nick. He brings out the best. ";
name="- Coco";

}

if (random_number==6) {


image="webimages/testjburciaga2big.jpg";

test="Slickforce is the ultimate in Glam.  They will make you look like a better you!";

name="- Jessica Burciaga";

}



if (random_number==7) {


image="webimages/testvida1big.jpg";

test="Nick will always be my first choice because his work is priceless. Slickforce should be the next call you make.";

name="- Vida Guerra";

}

if (random_number==8) {

image="webimages/testdonna2big.jpg";

test="Nick not only knows how to put a model at ease, but he is also extremely passion- ate.  I love my photos.";

name="- Donna Feldman";

}


if (random_number==9) {

image="webimages/testmayra2big.jpg";

test="The amazing photos I took at Slickforce helped make my calendar a best-seller, and the troops loved it!";

name="- Mayra Veronica";

}

if (random_number==10) {

image="webimages/testobig.jpg";

test="Nick sees things in you that others can't.  Lucky for me, it isn't just the women he makes look so good.";

name="- Omarion";

}

if (random_number==11) {


image="webimages/testvanessabig.jpg";

test="I love Slickforce because they are a true full-service studio. They take care of everything...I just bring me!";

name="- Vanessa Veasley";

}










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'> <a href='testimonial.php'><img src='"+image+"' width='175' height='150' alt='Customer' border='0'/></a></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='clsFloatRight'><img src='webimages/rtquote.png' width='23' height='21' alt='' /></div><div class='quote clear'><p  style='color:#333333; padding-top:3px;font-size:11px; font-weight:bold;'>"+name+"</p></div></div></div>";

line3="";

line4="</div></div>";

ret=line1+line2+line3+line4;

}







else

{


line1="<div class='sidecentercont'> <a href='testimonial.php'><img src='"+image+"' width='175' height='150' alt='Customer' border='0'/></a></div><div class='sidecentercont fullnewspos'><div class='testibg'>";

line2="<div class='testitextpos'><p><a href='testimonial.php' style='text-decoration:none;color:#666666;'>"+test+"</a></p><p style=float:right;'><img src='webimages/rtquote.png' width='23' height='21' alt='' /></p><div class='quote clear'><p  style='color:#333333; padding-top:6px; font-size:11px; font-weight:bold;'>"+name+"</p></div></div></div>";


line3="<div  class='clsFloatRight customerpad'><a href='testimonial.php'> <img src='webimages/btnreadmore.jpg' width='62' height='19' alt='Read more' border='0' />";

line4="</a> </div></div>";

ret=line1+line2+line3+line4;

                 } 	





document.getElementById('customer').innerHTML=ret;



}
