$(document).ready(function() {
jQuery.preLoadImages("/es/web.nsf/images/image-0.jpg", "/es/web.nsf/images/image-1.jpg","/es/web.nsf/images/image-2.jpg","/es/web.nsf/images/image-3.jpg","/es/web.nsf/images/image-4.jpg","/es/web.nsf/images/image-5.jpg", "/es/web.nsf/images/image-6.jpg");
//Start Loop for Header Graphics on Home Page
if (document.getElementById('home-image'))
{
var imageFade = outer();
var cycleMe = setInterval(imageFade, faderSettings.timing);
};
$(".tabs li:eq(0) a").css("border-left", "none");
$(".tabbed-box .tabs li a").click(function() {
openTab($(this)); return false;
});
$(".tabbed-box .tabs li a:eq("+currentTab+")").click();
});
var currentTab = 0; // Set to a different number to start on a different tab.
function openTab(clickedTab) {
var thisTab = $(".tabbed-box .tabs a").index(clickedTab);
$(".tabbed-box .tabs li a").removeClass("active");
$(".tabbed-box .tabs li a:eq("+thisTab+")").addClass("active");
$(".tabbed-box .tabbed-content").hide();
$(".tabbed-box .tabbed-content:eq("+thisTab+")").show();
currentTab = thisTab;
}
function showNextItem() {
var arrText=new Array()
arrText[37] = "Everything is dangerous if you are stupid.
Andrew Wharton", arrText[73] = "Through triumph comes from an eternal being not an eternal seeing
Anon", arrText[67] = "He who says what he likes will hear what he does not like
Anon", arrText[0] = "I may be an idiot but I'm not stupid
Monty Python", arrText[1] = "If you don't care where you are then you ain't lost.
Anon", arrText[30] = "I can't understand it. I can't even understand the people who can understand it.
Queen Juliana of the Netherlands", arrText[70] = "He who knows little quickly tells it.
Italian Proverb", arrText[40] = "Watson's Law. The reliability of machinery is inversely proportional to the number and significance of any persons watching it.
Anon", arrText[29] = "Frankfort, Kentucky, makes it against the law to shoot off a policeman's tie.
Anon", arrText[36] = "The sooner you fall behind, the more time you'll have to catch up!
Anon", arrText[66] = "Never put off until tomorrow what you can do today. There might be a law against it by that time.
Anon", arrText[9] = "Confuse an approaching frown with a smile.
Anon", arrText[21] = "Hofstadter's Law: It always takes longer than you expect, even when you take Hofstadter's Law into account.
Anon", arrText[43] = "Religion is what keeps the poor from murdering the rich.
Napoleon", arrText[60] = "You can't teach people to be lazy - either they have it, or they don't.
Dagwood Bumstead", arrText[5] = "Every solution breeds new problems.
Anon", arrText[2] = "He who says what he likes will hear what he does not like.
Anon", arrText[42] = "Bore, n. A person who talks when you wish him to listen.
Ambrose Bierce, The Devil's Dictionary", arrText[45] = "There are three ways to get something done: do it yourself, hire someone, or forbid your kids to do it.
Anon", arrText[38] = "The nice thing about standards is that there are so many of them to choose from.
Andrew S. Tanenbaum", arrText[27] = "Make visible what, without you, might perhaps never have been seen.
Robert Bresson", arrText[52] = "Nature is by and large to be found out of doors, a location where, it cannot be argued, there are never enough comfortable chairs.
Fran Leibowitz", arrText[47] = "Lowery's Law: If it jams -- force it. If it breaks, it needed replacing anyway
Anon", arrText[25] = "Leibowitz's Rule When hammering a nail, you will never hit your finger if you hold the hammer with both hands.
Anon", arrText[72] = "We are always sorry for the things we do, never for the things we dont.
Anon", arrText[7] = "Going to church doesnt make you a Christian anymore than going to a garage makes you a car
Laurence J. Peter", arrText[64] = "God doesn't play dice.
Albert Einstein", arrText[74] = "Your innocent if you dont know what your doing is wrong.
Willhelm Smitts", arrText[4] = "Noise proves nothing. Often a hen who has merely laid an egg cackles as if she laid an asteroid
Mark Twain", arrText[63] = "Newlan's Truism: An 'acceptable' level of unemployment means that the government economist to whom it is acceptable still has a job
Anon", arrText[22] = "Man needs, for his happiness, not only the enjoyment of this or that, but hope and enterprise and change
Bertrand Russell", arrText[48] = "Too much of a good thing is WONDERFUL.
Mae West", arrText[49] = "Everything is controlled by a small evil group to which, unfortunately, no one we know belongs.
Anon", arrText[17] = "The generation of random numbers is too important to be left to chance.
Anon", arrText[68] = "Confuse an approaching frown with a smile
Anon", arrText[13] = "Putts Law - Technology is dominated by two types of people Those who understand what they do not manage. Those who manage what they do not understand.
Anon", arrText[31] = "Everything should be built topdown, except the first time.
Anon", arrText[15] = "I have never let my schooling interfere with my education.
Mark Twain", arrText[39] = "Quidquid latine dictum sit, altum viditur. ...Whatever is said in Latin sounds profound...
Anon", arrText[26] = "A well adjusted person is one who makes the same mistake twice without getting nervous.
Anon", arrText[53] = "Any stone in your boot always migrates against the pressure gradient to exactly the point of most pressure.
Milt Barber", arrText[41] = "An authority is a person who can tell you more about something than you really care to know.
Anon", arrText[11] = "Cloning is the sincerest form of flattery.
Anon", arrText[62] = "Substitute -damn- every time you're inclined to write -very-; your editor will delete it and the writing will be just as it should be.
Mark Twain", arrText[28] = "Love is an ideal thing, marriage a real thing, a confusion of the real with the ideal never goes unpunished.
Goethe", arrText[34] = "We know what we are, but know not what we may be.
William Shakespeare", arrText[6] = "Pardos First Postulate - Anything good in life is either illegal immoral or fattening. Arnold's Addendum - Everything else causes cancer in rats.
Anon", arrText[71] = "If there is such a thing as free speech why are telephone bills so high
Anon", arrText[51] = "Do or do not do, There is no try.
Yoda", arrText[65] = "Q: What's tiny and yellow and very, very, dangerous? A: A canary with the super-user password.
Anon", arrText[8] = "I generally avoid temptation unless I can't resist it.
Mae West", arrText[20] = "After an instrument has been assembled, extra components will be found on the bench.
Anon", arrText[46] = "The game of catch has never been so fun! Inventor of the hand grenade.
Anon", arrText[50] = "If someone had told me I would be Pope one day, I would have studied harder.
Pope John Paul I", arrText[55] = "I'd give my right arm to be ambidextrous.
Anon", arrText[59] = "There's no point in being grown up if you can't be childish sometimes.
Dr. Who", arrText[16] = "When you don't know what you are doing, do it neatly.
Anon", arrText[58] = "Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Antoine de Saint-Exupery", arrText[12] = "Maternity pay.. Now every Tom Dick and Harry will get pregnant.
Malcolm Smith", arrText[61] = "It is better to remain silent and thought a fool, than to open your mouth and remove all doubt.
Abraham Lincoln", arrText[44] = "The trouble with computers is that they do what you tell them, not what you want.
D. Cohen", arrText[69] = "Sometimes the finest command of language is to say nothing
Anon", arrText[24] = "Information Center, n.: A room staffed by professional computer people whose job it is to tell you why you cannot have the information you require.
Anon", arrText[35] = "The difference between science and the fuzzy subjects is that science requires reasoning while those other subjects merely require scholarship.
Robert Heinlein", arrText[54] = "There is only one thing in the world worse than being talked about, and that is notbeing talked about.
Oscar Wilde", arrText[3] = "Eighty percent of all people consider themselves to be above average drivers.
Anon", arrText[19] = "Although golf was originally restricted to wealthy, overweight Protestants, today it's open to anybody who owns hideous clothing.
Dave Barry", arrText[10] = "I dont believe in astrology But then Im an Aquarius and Aquarians dont believe in astrology.
James R. F. Quirk", arrText[14] = "Having children is like having a bowling alley installed in your brain
Martin Mull", arrText[33] = "I used to think being a procrastinator would be a good thing to be and wanted to be one, but I kept putting it off.
Sir Lawrence", arrText[56] = "It has been said that man is a rational animal. All my life I have been searching for evidence which could support this.
Bertrand Russell", arrText[18] = "I don't mind going nowhere as long as it's an interesting path
Ronald Mabbitt", arrText[23] = "Mitchell's Law of Committees: Any simple problem can be made insoluble if enough meetings are held to discuss it.
Anon", arrText[57] = "The more we disagree, the more chance there is that at least one of us is right.
Anon", arrText[32] = "It's not an optical illusion, it just looks like one.
Phil White";
var iCurItem = 0;
var iNumItems = arrText.length;
var iDelayMilliseconds = 8000;
index = Math.floor(Math.random() * iNumItems);
var sIEHTML;
if (iNumItems != null) {
sIEHTML = arrText[index];
divDidYouKnow.innerHTML = sIEHTML
}
setTimeout("showNextItem()", iDelayMilliseconds);
}
var altArray = new Array();
altArray[0] = "Home";
altArray[1] = "Lotus Domino Application Development";
altArray[2] = "Website Development";
altArray[3] = "Domino Infrastructure";
altArray[4] = "Support";
altArray[5] = "Training";
altArray[6] = "Website and Application Hosting";
var hrefArray = new Array();
hrefArray[0] = "/es/web.nsf/home";
hrefArray[1] = "/es/web.nsf/application-development";
hrefArray[2] = "/es/web.nsf/website-development";
hrefArray[3] = "/es/web.nsf/domino-infrastructure";
hrefArray[4] = "/es/web.nsf/support";
hrefArray[5] = "/es/web.nsf/training";
hrefArray[6] = "/es/web.nsf/lotus-domino-application-website-hosting";
/** Image Cycle */
//Settings
var faderSettings = {
timing:6000,
fadeSpeed: 700,
numberOfImages:6,
imagePrefix: "image-",
imageSuffix: ".jpg",
imageDirectory :"/es/web.nsf/images/"
};
var displayImage = function(displayImage,altPassed){
var imageURL = faderSettings.imageDirectory + displayImage;
$("#home-image").fadeOut(faderSettings.fadeSpeed, function(){
$('#home-image-link').attr('href', hrefArray[altPassed]);
$('#home-image').attr('src', imageURL).attr('alt', altArray[altPassed]);
$(this).fadeIn(faderSettings.fadeSpeed);
});
};
function outer(){
var a = 0;
function inner(){
if(a==faderSettings.numberOfImages){a = 0;} else {a++;}
var imageNeeded = faderSettings.imagePrefix + a + faderSettings.imageSuffix;
var altNeeded = a;
displayImage(imageNeeded, altNeeded);
}
return inner;
}
(function($) {
var cache = [];
// Arguments are image paths relative to the current page.
$.preLoadImages = function() {
var args_len = arguments.length;
for (var i = args_len; i--;) {
var cacheImage = document.createElement('img');
cacheImage.src = arguments[i];
cache.push(cacheImage);
}
}
})(jQuery)