var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625404&x=5949',
		'title': '',
		'imageId': '625404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625405&x=5949',
		'title': '',
		'imageId': '625405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625406&x=5949',
		'title': '',
		'imageId': '625406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625407&x=5949',
		'title': '',
		'imageId': '625407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625408&x=5949',
		'title': '',
		'imageId': '625408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625409&x=5949',
		'title': '',
		'imageId': '625409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625410&x=5949',
		'title': '',
		'imageId': '625410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625411&x=5949',
		'title': '',
		'imageId': '625411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625412&x=5949',
		'title': '',
		'imageId': '625412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625413&x=5949',
		'title': '',
		'imageId': '625413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625414&x=5949',
		'title': '',
		'imageId': '625414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625415&x=5949',
		'title': '',
		'imageId': '625415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625416&x=5949',
		'title': '',
		'imageId': '625416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625417&x=5949',
		'title': '',
		'imageId': '625417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625418&x=5949',
		'title': '',
		'imageId': '625418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625419&x=5949',
		'title': '',
		'imageId': '625419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625420&x=5949',
		'title': '',
		'imageId': '625420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625421&x=5949',
		'title': '',
		'imageId': '625421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625422&x=5949',
		'title': '',
		'imageId': '625422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625423&x=5949',
		'title': '',
		'imageId': '625423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625424&x=5949',
		'title': '',
		'imageId': '625424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625425&x=5949',
		'title': '',
		'imageId': '625425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179474&docid=625426&x=5949',
		'title': '',
		'imageId': '625426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179474';

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";
	})
}
