var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584961&x=3626',
		'title': '',
		'imageId': '70584961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584970&x=3626',
		'title': '',
		'imageId': '70584970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584964&x=3626',
		'title': '',
		'imageId': '70584964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584962&x=3626',
		'title': '',
		'imageId': '70584962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584959&x=3626',
		'title': '',
		'imageId': '70584959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584963&x=3626',
		'title': '',
		'imageId': '70584963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70585006&x=3626',
		'title': '',
		'imageId': '70585006',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584966&x=3626',
		'title': '',
		'imageId': '70584966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584968&x=3626',
		'title': '',
		'imageId': '70584968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584960&x=3626',
		'title': '',
		'imageId': '70584960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70585009&x=3626',
		'title': '',
		'imageId': '70585009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584975&x=3626',
		'title': '',
		'imageId': '70584975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584967&x=3626',
		'title': '',
		'imageId': '70584967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584969&x=3626',
		'title': '',
		'imageId': '70584969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584974&x=3626',
		'title': '',
		'imageId': '70584974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584958&x=3626',
		'title': '',
		'imageId': '70584958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584994&x=3626',
		'title': '',
		'imageId': '70584994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584957&x=3626',
		'title': '',
		'imageId': '70584957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584965&x=3626',
		'title': '',
		'imageId': '70584965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=70584956&x=3626',
		'title': '',
		'imageId': '70584956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=59270515&x=3626',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028112&docid=59270516&x=3626',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028112';

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