var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269636&x=1315',
		'title': '',
		'imageId': '7269636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269639&x=1315',
		'title': '',
		'imageId': '7269639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269645&x=1315',
		'title': '',
		'imageId': '7269645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269650&x=1315',
		'title': '',
		'imageId': '7269650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269655&x=1315',
		'title': '',
		'imageId': '7269655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269663&x=1315',
		'title': '',
		'imageId': '7269663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269672&x=1315',
		'title': '',
		'imageId': '7269672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269707&x=1315',
		'title': '',
		'imageId': '7269707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269716&x=1315',
		'title': '',
		'imageId': '7269716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269721&x=1315',
		'title': '',
		'imageId': '7269721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269732&x=1315',
		'title': '',
		'imageId': '7269732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269738&x=1315',
		'title': '',
		'imageId': '7269738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269750&x=1315',
		'title': '',
		'imageId': '7269750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269754&x=1315',
		'title': '',
		'imageId': '7269754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269759&x=1315',
		'title': '',
		'imageId': '7269759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269778&x=1315',
		'title': '',
		'imageId': '7269778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269794&x=1315',
		'title': '',
		'imageId': '7269794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269814&x=1315',
		'title': '',
		'imageId': '7269814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269841&x=1315',
		'title': '',
		'imageId': '7269841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913498&docid=7269871&x=1315',
		'title': '',
		'imageId': '7269871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #913498';

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