var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940043&x=349',
		'title': '',
		'imageId': '67940043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940045&x=349',
		'title': '',
		'imageId': '67940045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940040&x=349',
		'title': '',
		'imageId': '67940040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940046&x=349',
		'title': '',
		'imageId': '67940046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940047&x=349',
		'title': '',
		'imageId': '67940047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940044&x=349',
		'title': '',
		'imageId': '67940044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940042&x=349',
		'title': '',
		'imageId': '67940042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940041&x=349',
		'title': '',
		'imageId': '67940041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940048&x=349',
		'title': '',
		'imageId': '67940048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921376&docid=67940049&x=349',
		'title': '',
		'imageId': '67940049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921376';

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