var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=69298004&x=4756',
		'title': '',
		'imageId': '69298004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=69298006&x=4756',
		'title': '',
		'imageId': '69298006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647334&x=4756',
		'title': '',
		'imageId': '64647334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647323&x=4756',
		'title': '',
		'imageId': '64647323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647333&x=4756',
		'title': '',
		'imageId': '64647333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647326&x=4756',
		'title': '',
		'imageId': '64647326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647329&x=4756',
		'title': '',
		'imageId': '64647329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647332&x=4756',
		'title': '',
		'imageId': '64647332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647331&x=4756',
		'title': '',
		'imageId': '64647331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647328&x=4756',
		'title': '',
		'imageId': '64647328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647338&x=4756',
		'title': '',
		'imageId': '64647338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=69298005&x=4756',
		'title': '',
		'imageId': '69298005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647342&x=4756',
		'title': '',
		'imageId': '64647342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647325&x=4756',
		'title': '',
		'imageId': '64647325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647345&x=4756',
		'title': '',
		'imageId': '64647345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647347&x=4756',
		'title': '',
		'imageId': '64647347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647350&x=4756',
		'title': '',
		'imageId': '64647350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647324&x=4756',
		'title': '',
		'imageId': '64647324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647335&x=4756',
		'title': '',
		'imageId': '64647335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647330&x=4756',
		'title': '',
		'imageId': '64647330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647327&x=4756',
		'title': '',
		'imageId': '64647327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981640&docid=64647336&x=4756',
		'title': '',
		'imageId': '64647336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981640';

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