var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419331&x=1736',
		'title': '',
		'imageId': '69419331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419335&x=1736',
		'title': '',
		'imageId': '69419335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419336&x=1736',
		'title': '',
		'imageId': '69419336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419337&x=1736',
		'title': '',
		'imageId': '69419337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419339&x=1736',
		'title': '',
		'imageId': '69419339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419340&x=1736',
		'title': '',
		'imageId': '69419340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419341&x=1736',
		'title': '',
		'imageId': '69419341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419344&x=1736',
		'title': '',
		'imageId': '69419344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419346&x=1736',
		'title': '',
		'imageId': '69419346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419348&x=1736',
		'title': '',
		'imageId': '69419348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986610&docid=69419349&x=1736',
		'title': '',
		'imageId': '69419349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986610';

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