var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855509&x=359',
		'title': '',
		'imageId': '67855509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855518&x=359',
		'title': '',
		'imageId': '67855518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855519&x=359',
		'title': '',
		'imageId': '67855519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855510&x=359',
		'title': '',
		'imageId': '67855510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855520&x=359',
		'title': '',
		'imageId': '67855520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855516&x=359',
		'title': '',
		'imageId': '67855516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855511&x=359',
		'title': '',
		'imageId': '67855511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855514&x=359',
		'title': '',
		'imageId': '67855514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855517&x=359',
		'title': '',
		'imageId': '67855517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855513&x=359',
		'title': '',
		'imageId': '67855513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855515&x=359',
		'title': '',
		'imageId': '67855515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919716&docid=67855512&x=359',
		'title': '',
		'imageId': '67855512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919716';

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