var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986337&x=2917',
		'title': '',
		'imageId': '69986337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986331&x=2917',
		'title': '',
		'imageId': '69986331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986336&x=2917',
		'title': '',
		'imageId': '69986336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986334&x=2917',
		'title': '',
		'imageId': '69986334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986326&x=2917',
		'title': '',
		'imageId': '69986326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986332&x=2917',
		'title': '',
		'imageId': '69986332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986327&x=2917',
		'title': '',
		'imageId': '69986327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986335&x=2917',
		'title': '',
		'imageId': '69986335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986330&x=2917',
		'title': '',
		'imageId': '69986330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986333&x=2917',
		'title': '',
		'imageId': '69986333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986328&x=2917',
		'title': '',
		'imageId': '69986328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69986329&x=2917',
		'title': '',
		'imageId': '69986329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69988905&x=2917',
		'title': '',
		'imageId': '69988905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69988906&x=2917',
		'title': '',
		'imageId': '69988906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69988907&x=2917',
		'title': '',
		'imageId': '69988907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010989&docid=69988908&x=2917',
		'title': '',
		'imageId': '69988908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010989';

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