var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727890&x=5144',
		'title': '',
		'imageId': '67727890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727893&x=5144',
		'title': '',
		'imageId': '67727893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727894&x=5144',
		'title': '',
		'imageId': '67727894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727895&x=5144',
		'title': '',
		'imageId': '67727895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727896&x=5144',
		'title': '',
		'imageId': '67727896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727900&x=5144',
		'title': '',
		'imageId': '67727900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727901&x=5144',
		'title': '',
		'imageId': '67727901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727897&x=5144',
		'title': '',
		'imageId': '67727897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727898&x=5144',
		'title': '',
		'imageId': '67727898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727899&x=5144',
		'title': '',
		'imageId': '67727899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727892&x=5144',
		'title': '',
		'imageId': '67727892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913594&docid=67727891&x=5144',
		'title': '',
		'imageId': '67727891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913594';

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