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 Mail(box,domain) {
   document.write("<a href=\"mailto:"+box+"@"+domain+"\">"+box+"@"+domain+"</a>"); }



//Random-loading images
var textTitle = new Array()
var textCaption = new Array()
var imageName = new Array()
textTitle[0] = 'Success.'
textTitle[1] = 'Immediate.'
textTitle[2] = 'Limitless.'
textTitle[3] = 'Solutions.'
textTitle[4] = 'Responsive.'
textTitle[5] = 'Unparalleled.'
textCaption[0] = '&#8220;LogicDepot\'s comprehensive feedback management platform stands ready to work for your team. With over 10 years of use by research professionals and continuous improvement, these data collection and communication tools are ready for your projects!&#8221'
textCaption[1] = '&#8220LogicDepot has an immediate and material positive impact on the time, effort and expense that businesses face when solving information and communication needs of all types.&#8221;'
textCaption[2] = '&#8220;The possibilities are limitless and the customization enables you to not only surpass the capability of any packaged IT program, but avoid tens of thousands in programming expenses as well.&#8221;'
textCaption[3] = '&#8220;The staff are highly responsive and creative in their ability to categorically and immediately define and solve customer problems. It is one of the best values I have seen in the data world.&#8221;'
textCaption[4] = '&#8220;LogicDepot has been responsive to the ever changing needs of our business, continually adapting their software to address our clients\' needs.&#8221;'
textCaption[5] = '&#8220;LogicDepot\'s service has dramatically enhanced my ability to deliver valuable data for quick action. I and my clients have particularly benefited by the product\'s substantial flexibility to meet diverse needs, as well as unparalleled customer service.&#8221;'
imageName[0] = 'images/box-success.jpg' // replace with names of images
imageName[1] = 'images/box-immediate.jpg' // replace with names of images
imageName[2] = 'images/box-limitless.jpg' // replace with names of images
imageName[3] = 'images/box-solutions.jpg' // replace with names of images
imageName[4] = 'images/box-responsive.jpg' // replace with names of images
imageName[5] = 'images/box-unparalleled.jpg' // replace with names of images

var j = 0
var p = imageName.length;
var preBuffer = new Array()

for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = imageName[i]
}
var imageChoice = Math.round(Math.random()*(p-1));

function displayImage(){
if(imageChoice==0){document.write('<img src="'+imageName[imageChoice]+'" height="273" width="428" style="margin-top:5px">');}
else if(imageChoice==1){document.write('<img src="'+imageName[imageChoice]+'" height="273" width="428" style="margin-top:5px">');}
else if(imageChoice==2){document.write('<img src="'+imageName[imageChoice]+'" height="273" width="428" style="margin-top:5px">');}
else if(imageChoice==3){document.write('<img src="'+imageName[imageChoice]+'" height="273" width="428" style="margin-top:5px">');}
else if(imageChoice==4){document.write('<img src="'+imageName[imageChoice]+'" height="273" width="428" style="margin-top:5px">');}
else if(imageChoice==5){document.write('<img src="'+imageName[imageChoice]+'" height="273" width="428" style="margin-top:5px">');}
}

function displayText(){
if(imageChoice==0){document.write('<h1>'+textTitle[imageChoice]+'</h1><p>'+textCaption[imageChoice]+'</p>');}
else if(imageChoice==1){document.write('<h1>'+textTitle[imageChoice]+'</h1><p>'+textCaption[imageChoice]+'</p>');}
else if(imageChoice==2){document.write('<h1>'+textTitle[imageChoice]+'</h1><p>'+textCaption[imageChoice]+'</p>');}
else if(imageChoice==3){document.write('<h1>'+textTitle[imageChoice]+'</h1><p>'+textCaption[imageChoice]+'</p>');}
else if(imageChoice==4){document.write('<h1>'+textTitle[imageChoice]+'</h1><p>'+textCaption[imageChoice]+'</p>');}
else if(imageChoice==5){document.write('<h1>'+textTitle[imageChoice]+'</h1><p>'+textCaption[imageChoice]+'</p>');}

}
