
function display_address(){
        var tag1 = "mail";
        var tag2 = "to:";
	var email1 = "info";
	var email2 = "mississaugabujinkan";
	var email3 = ".c";
	var email4 = "om";
	document.write("<a h" + "ref=" + tag1 + tag2 + email1 + "@" + email2 +
			email3 + email4 +">" + email1 + "@" + email2 +
			email3 + email4 + "</a>");

}

function display_phone(){
        var tag1 = "647";
        var tag2 = "-285";
	var tag3 = "-7830";
	document.write(tag1 + tag2 + tag3);

}

function generateOffset() {
   // Store the set of offsets in an array
   var offsets = new Array(200, 416, 567, 788, 1014, 1165);

   // Choose an index into the array at random and use that element's
   // value as the offset
   var ind = radomFromTo(0,4);
   var startat = offsets[ind];

   // Set the background image offset
   document.getElementById('content').style.backgroundPosition="-10px "+startat+"px";
}

function randomFromTo(from, to){
       return Math.floor(Math.random() * (to - from + 1) + from);
    }


