/* Warns about absent Flash plugin */
function check_flash() {
   if (navigator.plugins) {
       if (navigator.plugins["Shockwave Flash"]) {
       } else {
           document.write('<h2><div style="text-align: center; color: red; font-style: italic; font-weight: bold; text-decoration: underline;"><br>You have no flash plugin installed!<br></div></h2>');
       }
   }
}



/* Shows Random Unique Images */
function show_uniq_random_images(items,num_pics) {
    var temp, nums = new Array;
    var total=items.length
    for (var i=0; i<total && i<num_pics; i++) {
        while((temp=is_in_array(Math.floor(Math.random()*total),nums))==-1);
        nums[i] = temp;
        document.write('<img src="'+items[temp]+'" border=0 class="random_pictures">');
    }
}
function is_in_array (num,arr) {
    for (var i=0; i<arr.length; i++) { if (num==arr[i]) { return (-1); } };
    return (num);
}
