var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146887&x=4034',
		'title': '',
		'imageId': '69146887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146878&x=4034',
		'title': '',
		'imageId': '69146878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146877&x=4034',
		'title': '',
		'imageId': '69146877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146879&x=4034',
		'title': '',
		'imageId': '69146879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146886&x=4034',
		'title': '',
		'imageId': '69146886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146880&x=4034',
		'title': '',
		'imageId': '69146880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146882&x=4034',
		'title': '',
		'imageId': '69146882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146883&x=4034',
		'title': '',
		'imageId': '69146883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146885&x=4034',
		'title': '',
		'imageId': '69146885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146884&x=4034',
		'title': '',
		'imageId': '69146884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146881&x=4034',
		'title': '',
		'imageId': '69146881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975042&docid=69146876&x=4034',
		'title': '',
		'imageId': '69146876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975042';

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