<!-- Hide JavaScript from Java-Impaired Browsers
					/*
					Live Date Script- 
					© Dynamic Drive (www.dynamicdrive.com)
					For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
					visit http://www.dynamicdrive.com
					*/
	
				
					var dayarray_unique_158=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
					var montharray_unique_234=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function getthedate_unique_421(){
					var mydate_unique_934=new Date()
					var year_unique_293=mydate_unique_934.getYear()
					if (year_unique_293 < 1000)
					year_unique_293+=1900
					var day_unique_172=mydate_unique_934.getDay()
					var month_unique_823=mydate_unique_934.getMonth()
					var daym_unique_862=mydate_unique_934.getDate()
					if (daym_unique_862<10)
					daym_unique_862="0"+daym_unique_862
					var hours_unique_027=mydate_unique_934.getHours()
					var minutes_unique_535=mydate_unique_934.getMinutes()
					var seconds_unique_214=mydate_unique_934.getSeconds()
					var dn_unique_872="AM"
					if (hours_unique_027>=12)
					dn_unique_872="PM"
					if (hours_unique_027>12){
					hours_unique_027=hours_unique_027-12
					}
					if (hours_unique_027==0)
					hours_unique_027=12
					if (minutes_unique_535<=9)
					minutes_unique_535="0"+minutes_unique_535
					if (seconds_unique_214<=9)
					seconds_unique_214="0"+seconds_unique_214
					//change font size here
					//var cdate_unique_623="<small><font color='ffffff' face='Arial'><b>"+dayarray_unique_158[day_unique_172]+", "+montharray_unique_234[month_unique_823]+" "+daym_unique_862+", "+year_unique_293+" "+hours_unique_027+":"+minutes_unique_535+":"+seconds_unique_214+" "+dn_unique_872+"</b></font></small>"
					var cdate_unique_623="<font color='red' face='Arial'  size='1'><b>"+dayarray_unique_158[day_unique_172]+", "+montharray_unique_234[month_unique_823]+" "+daym_unique_862+", "+year_unique_293+"</b></font>"
					document.write(cdate_unique_623)
}

//global variables
var layerRef="null",styleSwitch="null";
if (navigator.appName == "Netscape")
{
  layerRef="document.layers";
  styleSwitch="";
}
else
{
  layerRef="document.all";
  styleSwitch=".style";
}

if (top.location != self.location) {
top.location = self.location.href
}

var tistoolbar="no"
var tislocation="no"
var tisdirectories="no"
var tisstatus="no"
var tismenubar="no"
var tisscrollbars="no"
var tisresizable="no"
var tisurl="http://www.softwareparadise.co.uk/aboutus.html"
var tiswidth="200"
var tisheight="200"
var tisdirection="horitop"

//******************************
//         Mtv411.com
//******************************

var popwindow
var thistoolbar
var thislocation
var thisdirectories
var thisstatus
var thismenubar
var thisscrollbars
var thisresizable
var thisurl
var thiswidth
var thisheight
var thisdirection
var thistopposition
var thisleftposition
var pause=20
var stepfactor=20
var stepx
var stepy

var marginpadding=23

var startleft=0
var endleft=0
var starttop=0
var endtop=0

var marginleft=0
var margintop=0
var marginright
var marginbottom
var timer

function openpopup() {

	thistoolbar=tistoolbar
	thislocation=tislocation
	thisdirectories=tisdirectories
	thisstatus=tisstatus
	thismenubar=tismenubar
	thisscrollbars=tisscrollbars
	thisresizable=tisresizable
	thisurl=tisurl
	thiswidth=tiswidth
	thisheight=tisheight
	thisdirection=tisdirection
	
	marginright=screen.width
	marginbottom=screen.height
	
	return;

	if (thisdirection=="horitop") {
		startleft=marginleft
		endleft=marginright-thiswidth-marginpadding
		starttop=marginpadding
		endtop=starttop
		stepx=stepfactor
		stepy=0	
	}
	if (thisdirection=="horimiddle") {
		startleft=marginleft
		endleft=marginright-thiswidth-marginpadding
		starttop=Math.round((marginbottom-thisheight)/2)
		endtop=starttop
		stepx=stepfactor
		stepy=0	
	}
	if (thisdirection=="horibottom") {
		startleft=marginleft
		endleft=marginright-thiswidth-marginpadding
		starttop=marginbottom-thisheight-2*marginpadding
		endtop=starttop
		stepx=stepfactor
		stepy=0	
	
	}
	if (thisdirection=="vertileft") {
		startleft=marginleft
		endleft=startleft
		starttop=marginpadding
		endtop=marginbottom-thisheight-2*marginpadding
		stepx=0
		stepy=stepfactor	
	}
	if (thisdirection=="vertimiddle") {
		startleft=Math.round((marginright-thiswidth)/2)
		endleft=startleft
		starttop=marginpadding
		endtop=marginbottom-thisheight-2*marginpadding
		stepx=0
		stepy=stepfactor	
	}
	if (thisdirection=="vertiright") {
		startleft=marginright-thiswidth-marginpadding
		endleft=marginright-thiswidth-marginpadding
		starttop=marginpadding
		endtop=marginbottom-thisheight-2*marginpadding
		stepx=0
		stepy=stepfactor	
	}
	popwindow=window.open(thisurl, "newwindow", "toolbar="+thistoolbar+",location="+thislocation+",directories="+thisdirectories+",status="+thisstatus+",menubar="+thismenubar+",scrollbars="+thisscrollbars+",resizable="+thisresizable+",width="+thiswidth+",height="+thisheight+",top="+starttop+",left="+startleft+"")
	movewindow()
	popwindow.focus()
}

function movewindow() {
	if ((starttop<=endtop) && (startleft<=endleft)){
		popwindow.moveTo(startleft,starttop)
		startleft+=stepx
		starttop+=stepy
		timer=setTimeout("movewindow()",pause)
	}
	else {
		clearTimeout(timer)
		popwindow.moveTo(endleft,endtop)
	}
}

function getOS() {
  if(navigator.userAgent.indexOf('IRIX') != -1)
    { var OpSys = "Irix"; }
  else if((navigator.userAgent.indexOf('Win') != -1) &&
  (navigator.userAgent.indexOf('95') != -1) || (navigator.userAgent.indexOf('98') != -1))
    { var OpSys = "Windows Me/98/95"; }
  else if(navigator.userAgent.indexOf('Win') != -1)
    { var OpSys = "Windows NT (or 3.1)"; }
  else if(navigator.userAgent.indexOf('Mac') != -1)
    { var OpSys = "Macintosh"; }
  else { var OpSys = "other"; }
  return OpSys;
}
//
// Browser sniffing: only interested in dhtml compatible browsers
// Netscape 6 is a problem, but as it is only in beta and not very widely used
// (compared to other fourth/fifth generation browsers) this is not a big problem.
// 

var OpSys = getOS();

var isNN, isIE, IE55;
if (parseInt(navigator.appVersion)>= 4) {
	if (navigator.appName == "Netscape") {
		isNN = true;
	}
	else if (navigator.appName == "Microsoft Internet Explorer") {
		isIE = true;
	}
}
IE55 = isIE && (navigator.appVersion.indexOf("5.5")!=-1);
var IE   = (navigator.appName.indexOf("Microsoft")!=-1);
var NAV  = (navigator.appName.indexOf("Netscape")!=-1);
var IE3  = IE && (navigator.appVersion.indexOf("3.")!=-1);
var NAV3 = NAV && (navigator.appVersion.indexOf("3.")!=-1);
var V4   = (!IE3) && (!NAV3);
var platstyle;

if (IE) {
var platstyle = '<link rel="stylesheet" type="text/css" href="http://www.softwareparadise.co.uk/styles/pcie.css">';
document.write(platstyle);
}

if (NAV) {
var platstyle = '<link rel="stylesheet" type="text/css" href="http://www.softwareparadise.co.uk/styles/pcnav.css">';
document.write(platstyle);
}

function checkForm(form) {
if (form.wordsanywhere.value == '' || form.wordsanywhere.value == "search words" || form.wordsanywhere.value == "email address") {	
	alert('I must have something to search for!');
	return false;
	}
}

function vendwin(url) {
//	var screen_width = screen.width * 3/4;
//	var screen_height = screen.height * 5/8; 
	var screen_width = 800;
	var screen_height = 400; 
                       newwin=window.open(url,"VendorWindow","width="+screen_width+",height="+screen_height+",toolbar=1,resizable=1,status=1,menubar=1,scrollbars=1");
	// set the opener if it's not already set.  it's set automatically
	// in netscape 3.0+ and ie 3.0+.
	if( navigator.appName.substring(0,8) == "Netscape" )
	{
                newwin.location=url;
	}
}

function changePage1 (cbo) {
	var jumpto = cbo.options[cbo.selectedIndex].value;
	if (jumpto != "") {
		vendwin(jumpto)
	}
	return true;
}

function scrollit(seed) {
  var m1 = "UK'S WIDEST RANGE OF SOFTWARE. LOTS OF NEW PRODUCTS ADDED EVERY DAY. ADD US TO YOUR FAVOURITES - BOOKMARK US TODAY";
  var m2 = "";
  var m3 = "";
  var m4 = "";
  var msg=m1+m2+m3+m4;
  var out = " ";
  var c = 1;
  if (seed > 100) {
	seed--;
	cmd="scrollit("+seed+")";
	timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 100 && seed > 0) {
	for (c=0 ; c < seed ; c++) {
		out+=" ";
	}
	out+=msg;
	seed--;
	window.status=out;
	cmd="scrollit("+seed+")";
	timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 0) {
	if (-seed < msg.length) {
		out+=msg.substring(-seed,msg.length);
		seed--;
		window.status=out;
		cmd="scrollit("+seed+")";
		timerTwo=window.setTimeout(cmd,100);
	}
	else {
		window.status=" ";
		timerTwo=window.setTimeout("scrollit(100)",75);
	}
  }
}

var rand1 = 0;
var useRand = 0;

function selectPic() {
var imgnum = 17;
do {
var randnum = Math.random();
rand1 = Math.round((imgnum - 1) * randnum) + 1;
} while (rand1 == useRand);
useRand = rand1;
useRand = 17;
document.randimg.src = "http://www.softwareparadise.co.uk/graphics/paradise/paradise" + useRand + ".jpg";
}

function f_OpenWin()
{
   var countWin = window.open ("http://cgi.www.softwareparadise.co.uk/cgi-bin/www.softwareparadise.co.uk/prod_cnt.pl","","width=200, height=200, top=" + (screen.height-200)/2 + ", left=" + (screen.width-200)/2);
   countWin.focus();
}

function o_OpenWin()
{
   var openingsWin = window.open ("http://www.softwareparadise.co.uk/openings.html","","width=500, height=300, top=" + (screen.height-300)/2 + ", left=" + (screen.width-500)/2);
   openingsWin.focus();
}

	// Flooble.com's Animated Text script. Will animate a specified 
	// bit of text (determined by the ID of containing tag) by 
	// highlighting it with specified color one character at a time 
	// in a moving pattern.
	//
	// Summary of use: 
	//     call animate(tagID, color); where "tagID" is the ID 
	//     of the tag that contains text to be animated,
	//     and "color" is the color to use to highlight the text with.
	//
	// For more information, and detailed instructions, see 
	//     http://www.flooble.com/scripts/animate.php
	//
	// Copyright (c) 2002 by Animus Pactum Consulting Inc.
	// This script comes with no warranties whatsoever. 
	// Animus Pactum Consulting will not be responsible
	// for any damages resulting from its use.

        var ie4 = false;
        if(document.all) {
                ie4 = true; 
        }       
        function setContent(name, value) {
                var d;  
                if (ie4) { 
                        d = document.all[name];
                } else {
                        d = document.getElementById(name);
                }       
                d.innerHTML = value;    
        }       

	function getContent(name) {
		var d;
                if (ie4) {
                        d = document.all[name];
                } else {
                        d = document.getElementById(name);
                }
                return d.innerHTML;
	}

        function setColor(name, value) {
                var d;  
                if (ie4) { 
                        d = document.all[name];
                } else {
                        d = document.getElementById(name);
                }
                d.style.color = value;  
        }

	function getColor(name) {
                var d;
                if (ie4) {
                        d = document.all[name];
                } else {
                        d = document.getElementById(name);
                }
                return d.style.color;
        }

        function animate(name, col) {
		var value = getContent(name);
		if (value.indexOf('<span') >= 0) { return; }
		var length = 0;
                var str = '';
		var ch;
		var token = '';
		var htmltag = false;	
                for (i = 0; i < value.length; i++) {
			ch = value.substring(i, i+1);
			if (i < value.length - 1) { nextch = value.substring(i+1, i+2); } else { nextch = ' '; }
			token += ch;
			if (ch == '<' && '/aAbBpPhHiIoOuUlLtT'.indexOf(nextch) >= 0) { htmltag = true; }
			if (ch == '>' && htmltag) { htmltag = false; }
			if (!htmltag && ch.charCodeAt(0) > 30 && ch != ' ' && ch != '\n') {		
                        	str += '<span id="' + name + '_' + length + '">' + token + '</span>';
				token = '';
				length++;
			}
                }
                setContent(name, str);
                command = 'animateloop(\'' + name + '\', ' + length + ', 0, 1, \'' + col + '\')';
                setTimeout(command , 100);
        }

        function animateloop(name, length, ind, delta, col) {
		var next = ind + delta;
		if (next >= length) { delta = delta * -1; next = ind + delta; }
		if (next < 0) { delta = delta * -1; next = ind + delta; }
                setColor(name + '_' + ind, getColor(name + '_' + next));
                setColor(name + '_' + next, col);
                command = 'animateloop(\'' + name + '\', ' + length + ', ' + next + ', ' + delta + ', \'' + col + '\')';
                setTimeout(command , 100);
        }

function bookmark(url, description)
{
netscape="Netscape User's hit CTRL+D to add a bookmark to this site."
if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite(url, description);
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

function showLayer(layerName)
{ eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"'); }
  
function hideLayer(layerName)
{ eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"'); }

function Is() {
    var agent   = navigator.userAgent.toLowerCase();
    this.major  = parseInt(navigator.appVersion);
    this.minor  = parseFloat(navigator.appVersion);
    this.ns     = ((agent.indexOf('mozilla')   != -1) &&
                  (agent.indexOf('spoofer')    == -1) &&
                  (agent.indexOf('compatible') == -1) &&
                  (agent.indexOf('opera')      == -1) &&
                  (agent.indexOf('webtv')      == -1));
    this.ns4    = (this.ns && (this.major      ==  4));
    this.ns6    = (this.ns && (this.major      >=  5));
    this.ie     = (agent.indexOf("msie")       != -1);
    this.ie3    = (this.ie && (this.major      <   4));
    this.ie4  	= (this.ie && (this.major >= 4));
    this.ie5    = (this.ie && (this.major      ==  4) &&
                  (agent.indexOf("msie 5.0")   != -1));
    this.ieX    = (this.ie && !this.ie3 && !this.ie4);
}


var is = new Is();
	
	function layerObject(id,left,top) {
		if (is.ie5||is.ns6){
		this.obj = document.getElementById(id).style;
		this.obj.left = left;
		this.obj.top = top;
		return this.obj;
		} else if(is.ie4) {
		this.obj = document.all[id].style;
		this.obj.left = left;
		this.obj.top = top;
		return this.obj;
		} else if(is.ns4) {
		this.obj = document.layers[id];
		this.obj.left = left;
		this.obj.top = top;
		return this.obj;
		}  
}

function layerSetup() {
	centerLyr = new layerObject('centerLayer', (available_width-600)/2,(available_height-400)/2);
}


