﻿/*
	visual.js
	作成日 : 091001
	更新日 : 091026
	author : IntelligentNet, Inc.
*/

// 初期設定
var lang = "zh";
var country = "TW";

// 言語、国
var langCountry = lang+"_"+country;

// ランダムに画像を表示する
var url = new Array();
var img = new Array();
var alt = new Array();

// ジャンプ先のアドレス(数字は画像、Altと対応)
url[0] = "http://info.mypicturetown.com/tour/"+langCountry+"/features.html";
url[1] = "http://info.mypicturetown.com/tour/"+langCountry+"/features.html";

// 画像のアドレス(数字はジャンプ先のアドレスと対応)
img[0] = "http://info.mypicturetown.com/top_files/img/"+langCountry+"/index_img_visual_main_01.jpg";
img[1] = "http://info.mypicturetown.com/top_files/img/"+langCountry+"/index_img_visual_main_02.jpg";

// Alt(数字はジャンプ先のアドレスと対応)
alt[0] = "共享记忆，安全保存";
alt[1] = "共享记忆，安全保存";

// 書き出し
n = Math.floor(Math.random()*url.length);
document.write("<p class='visual'><a href='"+url[n]+"'>");
document.write("<img src='"+img[n]+"' alt='"+alt[n]+"'>");
document.write("</a></p>");

