var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479475&x=55',
		'title': '',
		'imageId': '70479475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479479&x=55',
		'title': '',
		'imageId': '70479479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479488&x=55',
		'title': '',
		'imageId': '70479488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479489&x=55',
		'title': '',
		'imageId': '70479489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479490&x=55',
		'title': '',
		'imageId': '70479490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479491&x=55',
		'title': '',
		'imageId': '70479491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479496&x=55',
		'title': '',
		'imageId': '70479496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479406&x=55',
		'title': '',
		'imageId': '70479406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479407&x=55',
		'title': '',
		'imageId': '70479407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479408&x=55',
		'title': '',
		'imageId': '70479408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479409&x=55',
		'title': '',
		'imageId': '70479409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479410&x=55',
		'title': '',
		'imageId': '70479410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479421&x=55',
		'title': '',
		'imageId': '70479421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479424&x=55',
		'title': '',
		'imageId': '70479424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479422&x=55',
		'title': '',
		'imageId': '70479422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479411&x=55',
		'title': '',
		'imageId': '70479411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479427&x=55',
		'title': '',
		'imageId': '70479427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479425&x=55',
		'title': '',
		'imageId': '70479425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479430&x=55',
		'title': '',
		'imageId': '70479430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479437&x=55',
		'title': '',
		'imageId': '70479437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479440&x=55',
		'title': '',
		'imageId': '70479440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479457&x=55',
		'title': '',
		'imageId': '70479457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479443&x=55',
		'title': '',
		'imageId': '70479443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479453&x=55',
		'title': '',
		'imageId': '70479453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479445&x=55',
		'title': '',
		'imageId': '70479445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479444&x=55',
		'title': '',
		'imageId': '70479444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479450&x=55',
		'title': '',
		'imageId': '70479450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479461&x=55',
		'title': '',
		'imageId': '70479461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479466&x=55',
		'title': '',
		'imageId': '70479466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479467&x=55',
		'title': '',
		'imageId': '70479467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479472&x=55',
		'title': '',
		'imageId': '70479472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030990&docid=70479468&x=55',
		'title': '',
		'imageId': '70479468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030990';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
